Searched refs:CLUST_FIRST (Results 1 – 10 of 10) sorted by relevance
318 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()
87 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
289 if (boot->bpbRootClust < CLUST_FIRST || in readboot()328 boot->NumClusters += CLUST_FIRST; in readboot()
561 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()
61 #define CLUST_FIRST 2 /* first legal cluster number */ macro
502 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()583 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()711 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()837 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
617 if (pmp->pm_maxcluster <= ((CLUST_RSRVD - CLUST_FIRST) & in mountmsdosfs()693 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()707 if (pmp->pm_nxtfree < CLUST_FIRST) in mountmsdosfs()708 pmp->pm_nxtfree = CLUST_FIRST; in mountmsdosfs()
208 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
489 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()571 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain()696 pmp->pm_nxtfree = CLUST_FIRST; in chainalloc()817 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) { in freeclusterchain()
210 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in msdosfs_mount()