Home | History | Annotate | Download | only in toolbox

Lines Matching full:bsec

123     u_int8_t bsec[4];   /* big total sectors */
167 u_int bsec; /* big total sectors */
399 bpb.bsec = bpb.sec;
411 bpb.bsec = opt_s;
418 bpb.bsec = opt_s;
420 bpb.bsec -= (opt_ofs / bpb.bps);
421 delta = bpb.bsec % bpb.spt;
424 (int)delta, bpb.bsec, bpb.spt);
425 bpb.bsec -= delta;
428 if (bpb.bsec <= 6000) /* about 3MB -> 512 bytes */
430 else if (bpb.bsec <= (1<<17)) /* 64M -> 4k */
432 else if (bpb.bsec <= (1<<19)) /* 256M -> 8k */
434 else if (bpb.bsec <= (1<<22)) /* 2G -> 16k, some versions of windows
513 if (bpb.bsec < (bpb.res ? bpb.res : bss) +
522 else if (bpb.rde || bpb.bsec <
580 (u_int64_t)(maxcls(fat) + 1) * bpb.spc <= bpb.bsec;
586 if (x1 + (u_int64_t)x * bpb.nft > bpb.bsec)
589 x = (u_int64_t)(bpb.bsec - x1) * bpb.bps * NPB /
608 cls = (bpb.bsec - x1) / bpb.spc;
618 bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
619 warnx("warning: FAT type limits file system to %u sectors", bpb.bsec);
628 if (bpb.hid + bpb.bsec <= MAXU16) {
629 bpb.sec = bpb.bsec;
630 bpb.bsec = 0;
672 mk4(bsbpb->bsec, bpb.bsec);
820 bpb->bsec = (u_int)block_size;
918 if (bpb->bsec == 0)
919 bpb->bsec = lp->d_secperunit;
940 if (bpb->bsec)
941 printf(" bsec=%u", bpb->bsec);