Home
last modified time | relevance | path

Searched refs:bpbFSInfo (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/fsck_msdosfs/
H A Dboot.c183 boot->bpbFSInfo = block[48] + (block[49] << 8); in readboot()
189 if (boot->bpbFSInfo == 0) { in readboot()
200 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, in readboot()
201 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
226 if (lseek(dosfs, boot->bpbFSInfo * in readboot()
228 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
236 boot->bpbFSInfo = 0; in readboot()
341 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
342 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo()
355 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
[all …]
H A Ddosfs.h58 u_int bpbFSInfo; /* FSInfo sector */ member
H A Dfat.c1296 if (boot->bpbFSInfo) { in checklost()
/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c124 u_int8_t bpbFSInfo[2]; /* file system info sector */ member
163 u_int bpbFSInfo; /* file system info sector */ member
431 bpb.bpbFSInfo = o.info_sector; in mkfs_msdos()
483 if (!bpb.bpbFSInfo) { in mkfs_msdos()
488 bpb.bpbFSInfo = x; in mkfs_msdos()
490 if (bpb.bpbFSInfo != MAXU16 && x <= bpb.bpbFSInfo) in mkfs_msdos()
491 x = bpb.bpbFSInfo + 1; in mkfs_msdos()
498 } else if (bpb.bpbBackup != MAXU16 && bpb.bpbBackup == bpb.bpbFSInfo) { in mkfs_msdos()
705 mk2(bsxbpb->bpbFSInfo, bpb.bpbFSInfo); in mkfs_msdos()
736 } else if (fat == 32 && bpb.bpbFSInfo != MAXU16 && in mkfs_msdos()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dbpb.h81 uint16_t bpbFSInfo; /* filesystem info structure sector */ member
156 uint8_t bpbFSInfo[2]; /* filesystem info structure sector */ member
H A Dmsdosfs_vfsops.c687 pmp->pm_fsinfo = getushort(b710->bpbFSInfo) * pmp->pm_BlkPerSec; in mountmsdosfs()
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c186 pmp->pm_fsinfo = getushort(b710->bpbFSInfo); in m_msdosfs_mount()