HomeSort by: relevance | last modified time | path
    Searched refs:CLUST_FIRST (Results 1 - 9 of 9) sorted by relevancy

  /src/sbin/fsck_msdos/
fat.c 64 if (*next < CLUST_FIRST
200 for (cl = CLUST_FIRST; cl < boot->NumClusters;) {
331 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++)
342 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) {
362 p >= CLUST_FIRST && p < boot->NumClusters;
386 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
395 p >= CLUST_FIRST && p < boot->NumClusters &&
411 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
418 (n = fat[p].next) >= CLUST_FIRST && n < boot->NumClusters;
432 if (n < CLUST_FIRST || n >= boot->NumClusters)
    [all...]
dosfs.h 73 u_int FirstCluster; /* at what sector is Cluster CLUST_FIRST */
90 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */
dir.c 248 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) {
254 if (cl < CLUST_FIRST
323 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) {
329 off = (startcl - CLUST_FIRST) * boot->SecPerClust + boot->FirstCluster;
378 /* startcl is < CLUST_FIRST for !fat32 root */
379 if ((endcl == curcl) || (startcl < CLUST_FIRST))
402 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters)
480 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
494 off = (cl - CLUST_FIRST) * boot->SecPerClust + boot->FirstCluster;
710 } else if (dirent.head < CLUST_FIRST
    [all...]
boot.c 286 * There are two reserved clusters. To avoid adding CLUST_FIRST every
288 * which is CLUST_FIRST to denote the first out-of-range cluster number.
290 boot->NumClusters += CLUST_FIRST;
  /src/sys/fs/msdosfs/
fat.h 58 #define CLUST_FIRST 2 /* first legal cluster number */
73 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
msdosfsmount.h 231 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
msdosfs_fat.c 281 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) {
283 cn, (u_long)CLUST_FIRST, pmp->pm_maxcluster));
603 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
679 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
903 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
974 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) {
msdosfs_vfsops.c 712 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {
  /src/usr.sbin/makefs/msdos/
msdosfs_vfsops.c 278 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {

Completed in 227 milliseconds