Lines Matching refs:bpbSecPerClust

106     u_int8_t bpbSecPerClust;		/* sectors per cluster */
150 u_int bpbSecPerClust; /* sectors per cluster */
414 if (bpb.bpbSecPerClust == 0) { /* set defaults */
416 bpb.bpbSecPerClust = 1;
418 bpb.bpbSecPerClust = 8;
420 bpb.bpbSecPerClust = 16;
422 bpb.bpbSecPerClust = 32;
424 bpb.bpbSecPerClust = 64; /* otherwise 32k */
453 bpb.bpbSecPerClust = opt_b / bpb.bpbBytesPerSec;
458 bpb.bpbSecPerClust = opt_c;
503 howmany((RESFTE + (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1)) *
504 (bpb.bpbSecPerClust ? 16 : 12) / BPN,
509 (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1) *
510 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
519 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
552 if (!bpb.bpbSecPerClust)
553 for (bpb.bpbSecPerClust = howmany(fat == 16 ? DEFBLK16 :
555 bpb.bpbSecPerClust < MAXSPC &&
562 bpb.bpbSecPerClust <= bpb.bpbHugeSectors;
563 bpb.bpbSecPerClust <<= 1)
573 (bpb.bpbSecPerClust * bpb.bpbBytesPerSec * NPB + fat /
581 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
594 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
599 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust,
600 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat,
601 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust);
627 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) {
631 (dir + (fat == 32 ? bpb.bpbSecPerClust: rds)),
633 (fat == 32 ? bpb.bpbSecPerClust: rds)));
657 mk1(bsbpb->bpbSecPerClust, bpb.bpbSecPerClust);
879 bpb->bpbBytesPerSec, bpb->bpbSecPerClust, bpb->bpbResSectors,