Searched refs:clusterNum (Results 1 – 3 of 3) sorted by relevance
83 static int32_t orphanSizeLookup(int32_t clusterNum);86 freeNameInfo(int32_t clusterNum) in freeNameInfo() argument89 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster) in freeNameInfo()91 if (InUse[clusterNum - FIRST_CLUSTER]->path != NULL) { in freeNameInfo()92 if (InUse[clusterNum - FIRST_CLUSTER]->path->references > 1) { in freeNameInfo()93 InUse[clusterNum - FIRST_CLUSTER]->path->references--; in freeNameInfo()95 free(InUse[clusterNum - FIRST_CLUSTER]->path->fullName); in freeNameInfo()96 free(InUse[clusterNum - FIRST_CLUSTER]->path); in freeNameInfo()98 InUse[clusterNum - FIRST_CLUSTER]->path = NULL; in freeNameInfo()103 printOrphanPath(int32_t clusterNum) in printOrphanPath() argument[all …]
277 reservedInFAT(int32_t clusterNum) in reservedInFAT() argument281 e = readFATEntry(clusterNum); in reservedInFAT()289 badInFAT(int32_t clusterNum) in badInFAT() argument291 return (readFATEntry(clusterNum) == PCF_BADCLUSTER32); in badInFAT()299 freeInFAT(int32_t clusterNum) in freeInFAT() argument301 return (readFATEntry(clusterNum) == PCF_FREECLUSTER); in freeInFAT()308 lastInFAT(int32_t clusterNum) in lastInFAT() argument310 return (readFATEntry(clusterNum) == PCF_LASTCLUSTER32); in lastInFAT()317 markLastInFAT(int32_t clusterNum) in markLastInFAT() argument319 writeFATEntry(clusterNum, PCF_LASTCLUSTER32); in markLastInFAT()[all …]
79 int32_t clusterNum; member189 extern void markClusterModified(int32_t clusterNum);203 extern void markFreeInFAT(int32_t clusterNum);204 extern void markLastInFAT(int32_t clusterNum);206 extern void markBadInFAT(int32_t clusterNum);208 extern void squirrelPath(struct nameinfo *pathInfo, int32_t clusterNum);221 extern int reservedInFAT(int32_t clusterNum);222 extern int isMarkedBad(int32_t clusterNum);223 extern int readCluster(int fd, int32_t clusterNum, uchar_t **data,225 extern int freeInFAT(int32_t clusterNum);[all …]