Searched refs:CLUST_FIRST (Results 1 – 9 of 9) sorted by relevance
64 if (*next < CLUST_FIRST in checkclnum()200 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()331 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) in comparefat()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()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()[all …]
254 if (cl < CLUST_FIRST in resetDosDirSection()323 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) { in delete()379 if ((endcl == curcl) || (startcl < CLUST_FIRST)) in removede()402 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters) in checksize()480 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) { in readDosDirSection()494 off = (cl - CLUST_FIRST) * boot->SecPerClust + boot->FirstCluster; in readDosDirSection()710 } else if (dirent.head < CLUST_FIRST in readDosDirSection()719 else if (dirent.head < CLUST_FIRST in readDosDirSection()754 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters) in readDosDirSection()966 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()[all …]
90 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
290 boot->NumClusters += CLUST_FIRST; in readboot()
281 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) { in msdosfs_pcbmap()283 cn, (u_long)CLUST_FIRST, pmp->pm_maxcluster)); in msdosfs_pcbmap()603 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in msdosfs_fatentry()679 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()903 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in msdosfs_freeclusterchain()974 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) { in msdosfs_fillinusemap()
58 #define CLUST_FIRST 2 /* first legal cluster number */ macro
231 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
712 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mountfs()
278 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mount()