Home
last modified time | relevance | path

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

/freebsd-12-stable/sbin/fsck_msdosfs/
Ddir.c318 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in delete()
376 if ((endcl == curcl) || (startcl < CLUST_FIRST)) in removede()
485 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in check_subdirectory()
597 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in readDosDirSection()
1115 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()
1121 lfoff = (lfcl - CLUST_FIRST) * boot->ClusterSize in reconnect()
Ddosfs.h87 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
Dboot.c289 if (boot->bpbRootClust < CLUST_FIRST || in readboot()
328 boot->NumClusters += CLUST_FIRST; in readboot()
Dfat.c561 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl()
966 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in readfat()
1264 for (head = CLUST_FIRST; in checklost()
1316 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()
/freebsd-12-stable/sys/fs/msdosfs/
Dfat.h61 #define CLUST_FIRST 2 /* first legal cluster number */ macro
Dmsdosfs_vfsops.c579 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in mountmsdosfs()
654 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()
668 if (pmp->pm_nxtfree < CLUST_FIRST) in mountmsdosfs()
669 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()
Dmsdosfs_fat.c502 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
584 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()
713 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()
840 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
Dmsdosfsmount.h205 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
/freebsd-12-stable/usr.sbin/makefs/msdos/
Dfat.h61 #define CLUST_FIRST 2 /* first legal cluster number */ macro
Dmsdosfs_fat.c492 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
574 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()
699 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()
820 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
Dmsdosfsmount.h166 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
Dmsdosfs_vfsops.c209 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mount()