Lines Matching refs:bpbHugeSectors
116 u_int8_t bpbHugeSectors[4]; /* big total sectors */
160 u_int bpbHugeSectors; /* big total sectors */
308 bpb.bpbHugeSectors = bpb.bpbSectors;
320 bpb.bpbHugeSectors = o.size;
327 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec);
329 if (bpb.bpbHugeSectors <= 6000) /* about 3MB -> 512 bytes */
331 else if (bpb.bpbHugeSectors <= (1<<17)) /* 64M -> 4k */
333 else if (bpb.bpbHugeSectors <= (1<<19)) /* 256M -> 8k */
335 else if (bpb.bpbHugeSectors <= (1<<21)) /* 1G -> 16k */
446 if (bpb.bpbHugeSectors < (bpb.bpbResSectors ? bpb.bpbResSectors : bss) +
457 else if (bpb.bpbRootDirEnts || bpb.bpbHugeSectors <
532 bpb.bpbHugeSectors;
543 if (x1 + (u_int64_t)x * bpb.bpbFATs > bpb.bpbHugeSectors) {
548 x = (u_int64_t)(bpb.bpbHugeSectors - x1) * bpb.bpbBytesPerSec * NPB /
570 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
585 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
587 bpb.bpbHugeSectors);
597 if (bpb.bpbHugeSectors <= MAXU16) {
598 bpb.bpbSectors = bpb.bpbHugeSectors;
599 bpb.bpbHugeSectors = 0;
680 mk4(bsbpb->bpbHugeSectors, bpb.bpbHugeSectors);
965 if (bpb->bpbHugeSectors == 0)
966 bpb->bpbHugeSectors = lp->d_secperunit;
990 if (bpb->bpbHugeSectors)
991 printf(" HugeSectors=%u", bpb->bpbHugeSectors);