Home
last modified time | relevance | path

Searched refs:CLUST_FIRST (Results 1 – 9 of 9) sorted by relevance

/netbsd/sbin/fsck_msdos/
H A Dfat.c64 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 …]
H A Ddir.c254 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 …]
H A Ddosfs.h90 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
H A Dboot.c290 boot->NumClusters += CLUST_FIRST; in readboot()
/netbsd/sys/fs/msdosfs/
H A Dmsdosfs_fat.c281 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()
H A Dfat.h58 #define CLUST_FIRST 2 /* first legal cluster number */ macro
H A Dmsdosfsmount.h231 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_vfsops.c712 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mountfs()
/netbsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c278 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mount()