Searched refs:NumClusters (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/sbin/fsck_msdosfs/
H A Dfat.c146 || (*next >= boot->NumClusters && *next < CLUST_EOFS)) {
213 fat = malloc(len = boot->NumClusters * sizeof(struct fatEntry));
281 for (cl = CLUST_FIRST; cl < boot->NumClusters;) {
301 if (cl >= boot->NumClusters)
412 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++)
423 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) {
443 p >= CLUST_FIRST && p < boot->NumClusters;
467 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
476 p >= CLUST_FIRST && p < boot->NumClusters &&
492 for (head = CLUST_FIRST; head < boot->NumClusters; hea
[all...]
H A Dboot.c197 boot->NumClusters = (boot->NumSectors - boot->ClusterOffset) /
202 else if (boot->NumClusters < (CLUST_RSRVD&CLUST12_MASK))
204 else if (boot->NumClusters < (CLUST_RSRVD&CLUST16_MASK))
208 boot->NumClusters);
224 if (boot->NumFatEntries < boot->NumClusters - CLUST_FIRST) {
226 boot->NumClusters, boot->FATsecs);
H A Ddosfs.h69 cl_t NumClusters; /* # of entries in a FAT */ member in struct:bootblock
H A Ddir.c247 boot->bpbRootClust >= boot->NumClusters) {
322 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) {
401 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters)
459 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
707 || dirent.head >= boot->NumClusters
716 || dirent.head >= boot->NumClusters)
750 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters)
861 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters);
962 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) {

Completed in 174 milliseconds