Home
last modified time | relevance | path

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

/external/fsck_msdos/
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()
/external/newfs_msdos/
Dmkfs_msdos.c137 u_int8_t bpbFSInfo[2]; /* file system info sector */ member
176 u_int bpbFSInfo; /* file system info sector */ member
438 bpb.bpbFSInfo = o.info_sector; in mkfs_msdos()
490 if (!bpb.bpbFSInfo) { in mkfs_msdos()
495 bpb.bpbFSInfo = x; in mkfs_msdos()
497 if (bpb.bpbFSInfo != MAXU16 && x <= bpb.bpbFSInfo) in mkfs_msdos()
498 x = bpb.bpbFSInfo + 1; in mkfs_msdos()
505 } else if (bpb.bpbBackup != MAXU16 && bpb.bpbBackup == bpb.bpbFSInfo) { in mkfs_msdos()
710 mk2(bsxbpb->bpbFSInfo, bpb.bpbFSInfo); in mkfs_msdos()
741 } else if (fat == 32 && bpb.bpbFSInfo != MAXU16 && in mkfs_msdos()
[all …]