Home
last modified time | relevance | path

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

/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c125 u_int8_t bpbHugeSectors[4]; /* big total sectors */ member
169 u_int bpbHugeSectors; /* big total sectors */ member
317 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos()
329 bpb.bpbHugeSectors = o.size; in mkfs_msdos()
336 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec); in mkfs_msdos()
338 if (bpb.bpbHugeSectors <= 6000) /* about 3MB -> 512 bytes */ in mkfs_msdos()
340 else if (bpb.bpbHugeSectors <= (1<<17)) /* 64M -> 4k */ in mkfs_msdos()
342 else if (bpb.bpbHugeSectors <= (1<<19)) /* 256M -> 8k */ in mkfs_msdos()
344 else if (bpb.bpbHugeSectors <= (1<<21)) /* 1G -> 16k */ in mkfs_msdos()
455 if (bpb.bpbHugeSectors < (bpb.bpbResSectors ? bpb.bpbResSectors : bss) + in mkfs_msdos()
[all …]
/third_party/FreeBSD/sbin/fsck_msdosfs/
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