Lines Matching refs:FIRST_CLUSTER

87 	if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
89 if (InUse[clusterNum - FIRST_CLUSTER]->path != NULL) {
90 if (InUse[clusterNum - FIRST_CLUSTER]->path->references > 1) {
91 InUse[clusterNum - FIRST_CLUSTER]->path->references--;
93 free(InUse[clusterNum - FIRST_CLUSTER]->path->fullName);
94 free(InUse[clusterNum - FIRST_CLUSTER]->path);
96 InUse[clusterNum - FIRST_CLUSTER]->path = NULL;
104 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
106 if (InUse[clusterNum - FIRST_CLUSTER]->path != NULL) {
110 InUse[clusterNum - FIRST_CLUSTER]->path->fullName);
184 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
187 if (InUse[clusterNum - FIRST_CLUSTER] == NULL)
190 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_HIDDEN);
197 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
200 return ((InUse[clusterNum - FIRST_CLUSTER] != NULL) &&
201 (InUse[clusterNum - FIRST_CLUSTER]->dirent != NULL));
294 ((off64_t)clusterNum - FIRST_CLUSTER) * BytesPerCluster;
325 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
433 ClusterInfo *cl = InUse[clusterNum - FIRST_CLUSTER];
442 InUse[clusterNum - FIRST_CLUSTER] = newCl;
444 return (InUse[clusterNum - FIRST_CLUSTER]);
450 ClusterInfo *cl = InUse[clusterNum - FIRST_CLUSTER];
495 if (InUse[clusterNum - FIRST_CLUSTER] != NULL)
506 InUse[clusterNum - FIRST_CLUSTER] = newCl;
516 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
519 if (InUse[clusterNum - FIRST_CLUSTER]) {
520 if (InUse[clusterNum - FIRST_CLUSTER]->saved)
521 free(InUse[clusterNum - FIRST_CLUSTER]->saved);
522 freeClusterInfo(InUse[clusterNum - FIRST_CLUSTER]);
523 InUse[clusterNum - FIRST_CLUSTER] = NULL;
531 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
535 if (InUse[clusterNum - FIRST_CLUSTER] != NULL)
537 InUse[clusterNum - FIRST_CLUSTER]->flags | CLINFO_ORPHAN);
544 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
551 InUse[clusterNum - FIRST_CLUSTER]->saved = recovered;
554 InUse[clusterNum - FIRST_CLUSTER]->flags | CLINFO_BAD);
566 if (c < FIRST_CLUSTER || c > LastCluster)
568 if (InUse[c - FIRST_CLUSTER] != NULL)
570 InUse[c - FIRST_CLUSTER]->flags & ~CLINFO_ORPHAN);
579 if (c < FIRST_CLUSTER || c > LastCluster)
582 clp = &InUse[c - FIRST_CLUSTER];
593 for (cc = FIRST_CLUSTER; cc < LastCluster; cc++) {
620 for (c = FIRST_CLUSTER; c < LastCluster; c++) {
654 for (c = FIRST_CLUSTER; c < LastCluster; c++) {
726 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
729 if (InUse[clusterNum - FIRST_CLUSTER] == NULL)
732 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_BAD);
739 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
742 if (InUse[clusterNum - FIRST_CLUSTER] == NULL)
745 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_ORPHAN);
754 if (c < FIRST_CLUSTER || c > LastCluster)
777 look = FIRST_CLUSTER;
903 while (follow != cluster && follow >= FIRST_CLUSTER &&
1071 if (InUse[c - FIRST_CLUSTER]->dirent != NULL)
1072 free(InUse[c - FIRST_CLUSTER]->dirent);
1101 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1105 return (InUse[clusterNum - FIRST_CLUSTER]->dirent);
1115 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1119 return (extractSize(InUse[clusterNum - FIRST_CLUSTER]->dirent));
1166 for (c = FIRST_CLUSTER; c < LastCluster; c++) {
1198 for (c = FIRST_CLUSTER; c < LastCluster; c++) {
1234 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1238 while (follow != clusterNum && follow >= FIRST_CLUSTER &&
1320 if (currentCluster < FIRST_CLUSTER || currentCluster > LastCluster)
1328 if (nextCluster < FIRST_CLUSTER || nextCluster > LastCluster)
1384 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1386 if (InUse[clusterNum - FIRST_CLUSTER] == NULL)
1388 InUse[clusterNum - FIRST_CLUSTER]->path = pathInfo;
1400 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1409 cl = InUse[clusterNum - FIRST_CLUSTER];
1447 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster)
1515 for (clusterCount = FIRST_CLUSTER;