Searched refs:CLUST_FIRST (Results 1 – 12 of 12) sorted by relevance
57 if (*next < CLUST_FIRST in checkclnum()150 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()281 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) in comparefat()313 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; in tryclear()337 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()346 p >= CLUST_FIRST && p < boot->NumClusters && in checkfat()362 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()384 if (n < CLUST_FIRST || n >= boot->NumClusters) { in checkfat()405 p >= CLUST_FIRST && p < boot->NumClusters; in checkfat()463 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in writefat()[all …]
227 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) { in resetDosDirSection()290 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) { in delete()367 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters) in checksize()427 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) { in readDosDirSection()681 } else if (dirent.head < CLUST_FIRST in readDosDirSection()690 else if (dirent.head < CLUST_FIRST in readDosDirSection()725 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters) in readDosDirSection()832 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters); in readDosDirSection()932 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()
91 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
243 - CLUST_FIRST * boot->SecPerClust; in readboot()
241 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) { in pcbmap()243 cn, (u_long)CLUST_FIRST, pmp->pm_maxcluster)); in pcbmap()560 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()636 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()858 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()929 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
59 #define CLUST_FIRST 2 /* first legal cluster number */ macro
199 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
213 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mount()
57 #define CLUST_FIRST 2 /* first legal cluster number */ macro
504 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()585 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()820 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()892 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
179 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
378 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mountfs()