Home
last modified time | relevance | path

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

/external/newfs_msdos/
Dmkfs_msdos.c128 u_int8_t bpbHugeSectors[4]; /* big total sectors */ member
172 u_int bpbHugeSectors; /* big total sectors */ member
317 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos()
329 bpb.bpbHugeSectors = o.size; in mkfs_msdos()
335 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec); in mkfs_msdos()
337 if (bpb.bpbHugeSectors <= 6000) /* about 3MB -> 512 bytes */ in mkfs_msdos()
339 else if (bpb.bpbHugeSectors <= (1<<17)) /* 64M -> 4k */ in mkfs_msdos()
341 else if (bpb.bpbHugeSectors <= (1<<19)) /* 256M -> 8k */ in mkfs_msdos()
343 else if (bpb.bpbHugeSectors <= (1<<21)) /* 1G -> 16k */ in mkfs_msdos()
459 if (bpb.bpbHugeSectors < (bpb.bpbResSectors ? bpb.bpbResSectors : bss) + in mkfs_msdos()
[all …]
/external/fsck_msdos/
Dboot.c80 boot->bpbHugeSectors = block[32] + (block[33] << 8) + in readboot()
211 boot->bpbHugeSectors = 0; in readboot()
214 boot->NumSectors = boot->bpbHugeSectors; in readboot()
Ddosfs.h57 u_int32_t bpbHugeSectors; /* # of sectors if bpbbpbSectors == 0 */ member