Searched refs:NumClusters (Results 1 – 4 of 4) sorted by relevance
265 boot->NumClusters = in readboot()269 if (boot->NumClusters > (CLUST_RSRVD & CLUST32_MASK)) { in readboot()271 boot->NumClusters); in readboot()274 if (boot->NumClusters < (CLUST_RSRVD & CLUST16_MASK)) { in readboot()276 boot->NumClusters); in readboot()282 boot->bpbRootClust >= boot->NumClusters) { in readboot()287 } else if (boot->NumClusters < (CLUST_RSRVD&CLUST12_MASK)) { in readboot()293 boot->NumClusters); in readboot()309 if (boot->NumFatEntries < boot->NumClusters) { in readboot()311 boot->NumClusters, boot->FATsecs); in readboot()[all …]
553 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl()770 if (bitmap_ctor(&fat->headbitmap, boot->NumClusters, in readfat()773 (size_t)boot->NumClusters); in readfat()877 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in readfat()1175 chains > 0 && head < boot->NumClusters; in checklost()1220 (boot->FSNext >= boot->NumClusters || in checklost()1224 (boot->FSNext >= boot->NumClusters) ? "invalid" : "not free"); in checklost()1226 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()
73 cl_t NumClusters; /* # of entries in a FAT */ member
1122 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()1125 lfcl = (lostDir->head < boot->NumClusters) ? lostDir->head : 0; in reconnect()