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

/freebsd-12-stable/sys/fs/msdosfs/
H A Dfat.h61 #define CLUST_FIRST 2 /* first legal cluster number */ macro
75 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h201 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c502 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
584 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
713 pmp->pm_nxtfree = CLUST_FIRST;
840 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
H A Dmsdosfs_vfsops.c579 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {
654 pmp->pm_nxtfree = CLUST_FIRST;
668 if (pmp->pm_nxtfree < CLUST_FIRST)
669 pmp->pm_nxtfree = CLUST_FIRST;
/freebsd-12-stable/sbin/fsck_msdosfs/
H A Ddosfs.h77 u_int FirstCluster; /* at what sector is Cluster CLUST_FIRST */
87 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
H A Dboot.c289 if (boot->bpbRootClust < CLUST_FIRST ||
324 * There are two reserved clusters. To avoid adding CLUST_FIRST every
326 * which is CLUST_FIRST to denote the first out-of-range cluster number.
328 boot->NumClusters += CLUST_FIRST;
H A Ddir.c318 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
375 /* startcl is < CLUST_FIRST for !FAT32 root */
376 if ((endcl == curcl) || (startcl < CLUST_FIRST))
485 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
597 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
1115 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) {
1121 lfoff = (lfcl - CLUST_FIRST) * boot->ClusterSize
H A Dfat.c561 return (cl >= CLUST_FIRST && cl < boot->NumClusters);
966 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) {
1264 for (head = CLUST_FIRST;
1316 for (head = CLUST_FIRST; head < boot->NumClusters; head++)
/freebsd-12-stable/usr.sbin/makefs/msdos/
H A Dfat.h61 #define CLUST_FIRST 2 /* first legal cluster number */ macro
75 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h166 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c492 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
574 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
699 pmp->pm_nxtfree = CLUST_FIRST;
820 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
H A Dmsdosfs_vfsops.c209 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {

Completed in 126 milliseconds