Lines Matching refs:bpbHugeSectors
120 u_int8_t bpbHugeSectors[4]; /* big total sectors */
164 u_int bpbHugeSectors; /* big total sectors */
312 bpb.bpbHugeSectors = bpb.bpbSectors;
324 bpb.bpbHugeSectors = o.size;
331 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec);
333 if (bpb.bpbHugeSectors <= 6000) /* about 3MB -> 512 bytes */
335 else if (bpb.bpbHugeSectors <= (1<<17)) /* 64M -> 4k */
337 else if (bpb.bpbHugeSectors <= (1<<19)) /* 256M -> 8k */
339 else if (bpb.bpbHugeSectors <= (1<<21)) /* 1G -> 16k */
450 if (bpb.bpbHugeSectors < (bpb.bpbResSectors ? bpb.bpbResSectors : bss) +
461 else if (bpb.bpbRootDirEnts || bpb.bpbHugeSectors <
536 bpb.bpbHugeSectors;
547 if (x1 + (u_int64_t)x * bpb.bpbFATs > bpb.bpbHugeSectors) {
552 x = (u_int64_t)(bpb.bpbHugeSectors - x1) * bpb.bpbBytesPerSec * NPB /
574 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
589 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
591 bpb.bpbHugeSectors);
601 if (bpb.bpbHugeSectors <= MAXU16) {
602 bpb.bpbSectors = bpb.bpbHugeSectors;
603 bpb.bpbHugeSectors = 0;
686 mk4(bsbpb->bpbHugeSectors, bpb.bpbHugeSectors);
893 bpb->bpbHugeSectors = sectors;
985 if (bpb->bpbHugeSectors == 0)
986 bpb->bpbHugeSectors = lp->d_secperunit;
1010 if (bpb->bpbHugeSectors)
1011 printf(" HugeSectors=%u", bpb->bpbHugeSectors);