Searched refs:CLUST_FIRST (Results 1 – 10 of 10) sorted by relevance
316 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in delete()374 if ((endcl == curcl) || (startcl < CLUST_FIRST)) in removede()496 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in check_subdirectory()608 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in readDosDirSection()1126 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()1132 lfoff = (lfcl - CLUST_FIRST) * boot->ClusterSize in reconnect()
86 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
287 if (boot->bpbRootClust < CLUST_FIRST || in readboot()326 boot->NumClusters += CLUST_FIRST; in readboot()
559 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl()964 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in readfat()1262 for (head = CLUST_FIRST; in checklost()1314 for (head = CLUST_FIRST; head < boot->NumClusters; head++) in checklost()
60 #define CLUST_FIRST 2 /* first legal cluster number */ macro
507 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()588 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()716 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()842 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
208 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
785 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()799 if (pmp->pm_nxtfree < CLUST_FIRST) in mountmsdosfs()800 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()1058 sbp->f_blocks = pmp->pm_maxcluster - CLUST_FIRST + 1; in msdosfs_statfs()
486 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()568 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()693 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()814 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
202 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in m_msdosfs_mount()