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

/freebsd-current/sbin/fsck_msdosfs/
H A Ddosfs.h76 u_int FirstCluster; /* at what sector is Cluster CLUST_FIRST */
86 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
H A Dboot.c287 if (boot->bpbRootClust < CLUST_FIRST ||
322 * There are two reserved clusters. To avoid adding CLUST_FIRST every
324 * which is CLUST_FIRST to denote the first out-of-range cluster number.
326 boot->NumClusters += CLUST_FIRST;
H A Ddir.c316 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
373 /* startcl is < CLUST_FIRST for !FAT32 root */
374 if ((endcl == curcl) || (startcl < CLUST_FIRST))
496 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
608 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster;
1126 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) {
1132 lfoff = (lfcl - CLUST_FIRST) * boot->ClusterSize
H A Dfat.c559 return (cl >= CLUST_FIRST && cl < boot->NumClusters);
964 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) {
1262 for (head = CLUST_FIRST;
1314 for (head = CLUST_FIRST; head < boot->NumClusters; head++)
/freebsd-current/sys/fs/msdosfs/
H A Dfat.h60 #define CLUST_FIRST 2 /* first legal cluster number */ macro
74 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h208 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c507 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
588 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
716 pmp->pm_nxtfree = CLUST_FIRST;
842 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
H A Dmsdosfs_vfsops.c784 pmp->pm_nxtfree = CLUST_FIRST;
798 if (pmp->pm_nxtfree < CLUST_FIRST)
799 pmp->pm_nxtfree = CLUST_FIRST;
1059 sbp->f_blocks = pmp->pm_maxcluster - CLUST_FIRST + 1;
/freebsd-current/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c486 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
568 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
693 pmp->pm_nxtfree = CLUST_FIRST;
814 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
H A Dmsdosfs_vfsops.c202 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {

Completed in 254 milliseconds