Home
last modified time | relevance | path

Searched refs:bpbHugeSectors (Results 1 – 3 of 3) sorted by relevance

/external/newfs_msdos/
Dmkfs_msdos.c129 u_int8_t bpbHugeSectors[4]; /* big total sectors */ member
173 u_int bpbHugeSectors; /* big total sectors */ member
327 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos()
339 bpb.bpbHugeSectors = o.size; in mkfs_msdos()
346 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec); in mkfs_msdos()
348 if (bpb.bpbHugeSectors <= 6000) /* about 3MB -> 512 bytes */ in mkfs_msdos()
350 else if (bpb.bpbHugeSectors <= (1<<17)) /* 64M -> 4k */ in mkfs_msdos()
352 else if (bpb.bpbHugeSectors <= (1<<19)) /* 256M -> 8k */ in mkfs_msdos()
354 else if (bpb.bpbHugeSectors <= (1<<21)) /* 1G -> 16k */ in mkfs_msdos()
465 if (bpb.bpbHugeSectors < (bpb.bpbResSectors ? bpb.bpbResSectors : bss) + in mkfs_msdos()
[all …]
/external/fsck_msdos/
Dboot.c136 boot->bpbHugeSectors = block[32] + (block[33] << 8) + in readboot()
138 if (boot->bpbHugeSectors == 0) { in readboot()
152 boot->NumSectors = boot->bpbHugeSectors; in readboot()
Ddosfs.h57 u_int32_t bpbHugeSectors; /* # of sectors if bpbbpbSectors == 0 */ member