Searched refs:NumClusters (Results 1 – 4 of 4) sorted by relevance
151 || (*next >= boot->NumClusters && *next < CLUST_EOFS)) { in checkclnum()219 fat = calloc(boot->NumClusters, sizeof(struct fatEntry)); in readfat()286 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()306 if (cl >= boot->NumClusters) in readfat()413 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) in comparefat()424 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) { in clearchain()460 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()469 p >= CLUST_FIRST && p < boot->NumClusters; in checkfat()472 if (len > boot->NumClusters) { in checkfat()490 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()[all …]
224 boot->NumClusters = (boot->NumSectors - boot->ClusterOffset) / boot->SecPerClust;228 else if (boot->NumClusters < (CLUST_RSRVD&CLUST12_MASK))230 else if (boot->NumClusters < (CLUST_RSRVD&CLUST16_MASK))234 boot->NumClusters);250 if (boot->NumFatEntries < boot->NumClusters) {252 boot->NumClusters, boot->FATsecs);
241 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) { in resetDosDirSection()316 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) { in delete()401 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters) in checksize()455 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) { in check_dot_dot()505 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters); in check_dot_dot()542 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) { in readDosDirSection()791 || dirent.head >= boot->NumClusters in readDosDirSection()800 || dirent.head >= boot->NumClusters) in readDosDirSection()834 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters) in readDosDirSection()968 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters); in readDosDirSection()[all …]
76 cl_t NumClusters; /* # of entries in a FAT */ member