Home
last modified time | relevance | path

Searched refs:bpbFATs (Results 1 – 5 of 5) sorted by relevance

/external/fsck_msdos/
Dboot.c95 boot->bpbFATs = block[16]; in readboot()
96 if (boot->bpbFATs == 0) { in readboot()
97 pfatal("Invalid number of FATs: %u", boot->bpbFATs); in readboot()
253 if (boot->FATsecs < 1 || boot->FATsecs > UINT32_MAX / boot->bpbFATs) { in readboot()
255 boot->bpbFATs, (size_t)boot->FATsecs); in readboot()
261 boot->bpbResSectors + boot->bpbFATs * boot->FATsecs; in readboot()
Ddosfs.h49 u_int bpbFATs; /* number of bpbFATs */ member
Dfat.c1221 for (i = 1; i < boot->bpbFATs; i++) { in writefat()
1228 for (i = fat->is_mmapped ? 1 : 0; i < boot->bpbFATs; i++) { in writefat()
Ddir.c482 off = boot->bpbResSectors + boot->bpbFATs * in check_subdirectory()
590 off = boot->bpbResSectors + boot->bpbFATs * in readDosDirSection()
/external/newfs_msdos/
Dmkfs_msdos.c121 u_int8_t bpbFATs; /* number of FATs */ member
165 u_int bpbFATs; /* number of FATs */ member
424 bpb.bpbFATs = o.num_FAT; in mkfs_msdos()
462 if (!bpb.bpbFATs) in mkfs_msdos()
463 bpb.bpbFATs = 2; in mkfs_msdos()
469 bpb.bpbFATs + in mkfs_msdos()
479 bpb.bpbFATs + in mkfs_msdos()
548 bpb.bpbBytesPerSec * NPB) * bpb.bpbFATs + in mkfs_msdos()
562 if (x1 + (u_int64_t)x * bpb.bpbFATs > bpb.bpbHugeSectors) { in mkfs_msdos()
566 x1 += x * bpb.bpbFATs; in mkfs_msdos()
[all …]