Lines Matching refs:NumClusters
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()
497 for (p = head,wdk=boot->NumClusters; in checkfat()
498 (n = fat[p].next) >= CLUST_FIRST && n < boot->NumClusters && wdk; in checkfat()
513 if (n < CLUST_FIRST || n >= boot->NumClusters) { in checkfat()
528 p >= CLUST_FIRST && p < boot->NumClusters; in checkfat()
614 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in writefat()
634 if (cl + 1 < boot->NumClusters in writefat()
667 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checklost()
706 if ((boot->FSNext >= boot->NumClusters) || (fat[boot->FSNext].next != CLUST_FREE)) { in checklost()
710 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()
719 if (boot->FSNext > boot->NumClusters ) { in checklost()
721 boot->FSNext, boot->NumClusters); in checklost()
729 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()