Searched refs:bpbFATs (Results 1 – 5 of 5) sorted by relevance
95 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()
49 u_int bpbFATs; /* number of bpbFATs */ member
1221 for (i = 1; i < boot->bpbFATs; i++) { in writefat()1228 for (i = fat->is_mmapped ? 1 : 0; i < boot->bpbFATs; i++) { in writefat()
482 off = boot->bpbResSectors + boot->bpbFATs * in check_subdirectory()590 off = boot->bpbResSectors + boot->bpbFATs * in readDosDirSection()
121 u_int8_t bpbFATs; /* number of FATs */ member165 u_int bpbFATs; /* number of FATs */ member424 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 …]