Lines Matching refs:NumClusters
65 || (*next >= boot->NumClusters && *next < CLUST_EOFS)) { in checkclnum()
132 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry)); in readfat()
200 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()
220 if (cl >= boot->NumClusters) in readfat()
331 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) in comparefat()
342 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) { in clearchain()
362 p >= CLUST_FIRST && p < boot->NumClusters; in tryclear()
386 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()
395 p >= CLUST_FIRST && p < boot->NumClusters && in checkfat()
411 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()
418 (n = fat[p].next) >= CLUST_FIRST && n < boot->NumClusters; in checkfat()
432 if (n < CLUST_FIRST || n >= boot->NumClusters) { in checkfat()
452 p >= CLUST_FIRST && p < boot->NumClusters; in checkfat()
538 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in writefat()
561 if (cl >= boot->NumClusters) in writefat()
593 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checklost()
626 (boot->FSNext >= boot->NumClusters || in checklost()
630 (boot->FSNext >= boot->NumClusters) ? "invalid" : "not free"); in checklost()
632 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()