Lines Matching defs:bpbSecPerClust

103     u_int8_t bpbSecPerClust;		/* sectors per cluster */
147 u_int bpbSecPerClust; /* sectors per cluster */
325 if (bpb.bpbSecPerClust == 0) { /* set defaults */
327 bpb.bpbSecPerClust = 1;
329 bpb.bpbSecPerClust = 8;
331 bpb.bpbSecPerClust = 16;
333 bpb.bpbSecPerClust = 32;
335 bpb.bpbSecPerClust = 64; /* otherwise 32k */
386 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec;
394 bpb.bpbSecPerClust = o.sectors_per_cluster;
449 howmany((RESFTE + (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1)) *
450 (bpb.bpbSecPerClust ? 16 : 12) / BPN,
455 (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1) *
456 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
465 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
506 if (!bpb.bpbSecPerClust)
507 for (bpb.bpbSecPerClust = howmany(fat == 16 ? DEFBLK16 :
509 bpb.bpbSecPerClust < MAXSPC &&
516 bpb.bpbSecPerClust <= bpb.bpbHugeSectors;
517 bpb.bpbSecPerClust <<= 1)
531 (bpb.bpbSecPerClust * bpb.bpbBytesPerSec * NPB + fat /
539 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
554 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
559 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust,
560 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat,
561 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust);
591 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) {
595 (dir + (fat == 32 ? bpb.bpbSecPerClust: rds)),
597 (fat == 32 ? bpb.bpbSecPerClust: rds)));
627 mk1(bsbpb->bpbSecPerClust, bpb.bpbSecPerClust);
873 bpb->bpbBytesPerSec, bpb->bpbSecPerClust, bpb->bpbResSectors,