Home
last modified time | relevance | path

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

/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Ddir.c316 off = (startcl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in delete()
373 /* startcl is < CLUST_FIRST for !FAT32 root */ in removede()
374 if ((endcl == curcl) || (startcl < CLUST_FIRST)) in removede()
483 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in check_subdirectory()
595 off = (cl - CLUST_FIRST) * boot->bpbSecPerClust + boot->FirstCluster; in readDosDirSection()
1113 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()
1119 lfoff = (lfcl - CLUST_FIRST) * boot->ClusterSize in reconnect()
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 || in readboot()
322 * There are two reserved clusters. To avoid adding CLUST_FIRST every in readboot()
324 * which is CLUST_FIRST to denote the first out-of-range cluster number. in readboot()
326 boot->NumClusters += CLUST_FIRST; in readboot()
H A Dfat.c559 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()

Completed in 5 milliseconds