Searched refs:clusterNum (Results 1 – 3 of 3) sorted by relevance
81 static int32_t orphanSizeLookup(int32_t clusterNum);84 freeNameInfo(int32_t clusterNum) in freeNameInfo() argument87 if (clusterNum < FIRST_CLUSTER || clusterNum > LastCluster) in freeNameInfo()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()101 printOrphanPath(int32_t clusterNum) in printOrphanPath() argument[all …]
279 reservedInFAT(int32_t clusterNum) in reservedInFAT() argument283 e = readFATEntry(clusterNum); in reservedInFAT()291 badInFAT(int32_t clusterNum) in badInFAT() argument293 return (readFATEntry(clusterNum) == PCF_BADCLUSTER32); in badInFAT()301 freeInFAT(int32_t clusterNum) in freeInFAT() argument303 return (readFATEntry(clusterNum) == PCF_FREECLUSTER); in freeInFAT()310 lastInFAT(int32_t clusterNum) in lastInFAT() argument312 return (readFATEntry(clusterNum) == PCF_LASTCLUSTER32); in lastInFAT()319 markLastInFAT(int32_t clusterNum) in markLastInFAT() argument321 writeFATEntry(clusterNum, PCF_LASTCLUSTER32); in markLastInFAT()[all …]
80 int32_t clusterNum; member186 extern void markClusterModified(int32_t clusterNum);200 extern void markFreeInFAT(int32_t clusterNum);201 extern void markLastInFAT(int32_t clusterNum);203 extern void markBadInFAT(int32_t clusterNum);205 extern void squirrelPath(struct nameinfo *pathInfo, int32_t clusterNum);218 extern int reservedInFAT(int32_t clusterNum);219 extern int isMarkedBad(int32_t clusterNum);220 extern int readCluster(int fd, int32_t clusterNum, uchar_t **data,222 extern int freeInFAT(int32_t clusterNum);[all …]