• Home
  • Raw
  • Download

Lines Matching refs:bpbHugeSectors

128     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()
470 else if (bpb.bpbRootDirEnts || bpb.bpbHugeSectors < in mkfs_msdos()
545 bpb.bpbHugeSectors; in mkfs_msdos()
556 if (x1 + (u_int64_t)x * bpb.bpbFATs > bpb.bpbHugeSectors) { in mkfs_msdos()
561 x = (u_int64_t)(bpb.bpbHugeSectors - x1) * bpb.bpbBytesPerSec * NPB / in mkfs_msdos()
583 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust; in mkfs_msdos()
598 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1; in mkfs_msdos()
600 bpb.bpbHugeSectors); in mkfs_msdos()
610 if (bpb.bpbHugeSectors <= MAXU16) { in mkfs_msdos()
611 bpb.bpbSectors = bpb.bpbHugeSectors; in mkfs_msdos()
612 bpb.bpbHugeSectors = 0; in mkfs_msdos()
689 mk4(bsbpb->bpbHugeSectors, bpb.bpbHugeSectors); in mkfs_msdos()
853 bpb->bpbHugeSectors = (u_int)block_size; in getdiskinfo()
953 if (bpb->bpbHugeSectors == 0) in getdiskinfo()
954 bpb->bpbHugeSectors = lp->d_secperunit; in getdiskinfo()
979 if (bpb->bpbHugeSectors) in print_bpb()
980 printf(" HugeSectors=%u", bpb->bpbHugeSectors); in print_bpb()