Home
last modified time | relevance | path

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

/third_party/FreeBSD/sbin/fsck_msdosfs/
Dboot.c185 boot->bpbFSInfo = block[48] + (block[49] << 8); in readboot()
191 if (boot->bpbFSInfo == 0) { in readboot()
202 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, in readboot()
203 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
228 if (lseek(dosfs, boot->bpbFSInfo * in readboot()
230 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
238 boot->bpbFSInfo = 0; in readboot()
343 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
344 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo()
357 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
[all …]
Ddosfs.h59 u_int bpbFSInfo; /* FSInfo sector */ member
Dfat.c1298 if (boot->bpbFSInfo) { in checklost()
/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c133 u_int8_t bpbFSInfo[2]; /* file system info sector */ member
172 u_int bpbFSInfo; /* file system info sector */ member
428 bpb.bpbFSInfo = o.info_sector; in mkfs_msdos()
480 if (!bpb.bpbFSInfo) { in mkfs_msdos()
485 bpb.bpbFSInfo = x; in mkfs_msdos()
487 if (bpb.bpbFSInfo != MAXU16 && x <= bpb.bpbFSInfo) in mkfs_msdos()
488 x = bpb.bpbFSInfo + 1; in mkfs_msdos()
495 } else if (bpb.bpbBackup != MAXU16 && bpb.bpbBackup == bpb.bpbFSInfo) { in mkfs_msdos()
699 mk2(bsxbpb->bpbFSInfo, bpb.bpbFSInfo); in mkfs_msdos()
730 } else if (fat == 32 && bpb.bpbFSInfo != MAXU16 && in mkfs_msdos()
[all …]