Lines Matching refs:InUse
63 static ClusterInfo **InUse; variable
89 if (InUse[clusterNum - FIRST_CLUSTER]->path != NULL) { in freeNameInfo()
90 if (InUse[clusterNum - FIRST_CLUSTER]->path->references > 1) { in freeNameInfo()
91 InUse[clusterNum - FIRST_CLUSTER]->path->references--; in freeNameInfo()
93 free(InUse[clusterNum - FIRST_CLUSTER]->path->fullName); in freeNameInfo()
94 free(InUse[clusterNum - FIRST_CLUSTER]->path); in freeNameInfo()
96 InUse[clusterNum - FIRST_CLUSTER]->path = NULL; in freeNameInfo()
106 if (InUse[clusterNum - FIRST_CLUSTER]->path != NULL) { in printOrphanPath()
110 InUse[clusterNum - FIRST_CLUSTER]->path->fullName); in printOrphanPath()
187 if (InUse[clusterNum - FIRST_CLUSTER] == NULL) in isHidden()
190 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_HIDDEN); in isHidden()
200 return ((InUse[clusterNum - FIRST_CLUSTER] != NULL) && in isInUse()
201 (InUse[clusterNum - FIRST_CLUSTER]->dirent != NULL)); in isInUse()
433 ClusterInfo *cl = InUse[clusterNum - FIRST_CLUSTER]; in cloneClusterInfo()
442 InUse[clusterNum - FIRST_CLUSTER] = newCl; in cloneClusterInfo()
444 return (InUse[clusterNum - FIRST_CLUSTER]); in cloneClusterInfo()
450 ClusterInfo *cl = InUse[clusterNum - FIRST_CLUSTER]; in updateFlags()
495 if (InUse[clusterNum - FIRST_CLUSTER] != NULL) in allocInUse()
506 InUse[clusterNum - FIRST_CLUSTER] = newCl; in allocInUse()
519 if (InUse[clusterNum - FIRST_CLUSTER]) { in markFree()
520 if (InUse[clusterNum - FIRST_CLUSTER]->saved) in markFree()
521 free(InUse[clusterNum - FIRST_CLUSTER]->saved); in markFree()
522 freeClusterInfo(InUse[clusterNum - FIRST_CLUSTER]); in markFree()
523 InUse[clusterNum - FIRST_CLUSTER] = NULL; in markFree()
535 if (InUse[clusterNum - FIRST_CLUSTER] != NULL) in markOrphan()
537 InUse[clusterNum - FIRST_CLUSTER]->flags | CLINFO_ORPHAN); in markOrphan()
551 InUse[clusterNum - FIRST_CLUSTER]->saved = recovered; in markBad()
554 InUse[clusterNum - FIRST_CLUSTER]->flags | CLINFO_BAD); in markBad()
568 if (InUse[c - FIRST_CLUSTER] != NULL) in clearOrphan()
570 InUse[c - FIRST_CLUSTER]->flags & ~CLINFO_ORPHAN); in clearOrphan()
582 clp = &InUse[c - FIRST_CLUSTER]; in clearInUse()
601 if (InUse != NULL) { in makeUseTable()
605 if ((InUse = (ClusterInfo **) in makeUseTable()
729 if (InUse[clusterNum - FIRST_CLUSTER] == NULL) in isMarkedBad()
732 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_BAD); in isMarkedBad()
742 if (InUse[clusterNum - FIRST_CLUSTER] == NULL) in isMarkedOrphan()
745 return (InUse[clusterNum - FIRST_CLUSTER]->flags & CLINFO_ORPHAN); in isMarkedOrphan()
1071 if (InUse[c - FIRST_CLUSTER]->dirent != NULL) in freeOrphan()
1072 free(InUse[c - FIRST_CLUSTER]->dirent); in freeOrphan()
1105 return (InUse[clusterNum - FIRST_CLUSTER]->dirent); in orphanDirEntLookup()
1119 return (extractSize(InUse[clusterNum - FIRST_CLUSTER]->dirent)); in orphanSizeLookup()
1386 if (InUse[clusterNum - FIRST_CLUSTER] == NULL) in squirrelPath()
1388 InUse[clusterNum - FIRST_CLUSTER]->path = pathInfo; in squirrelPath()
1409 cl = InUse[clusterNum - FIRST_CLUSTER]; in markInUse()