• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sbin/newfs_msdos/

Lines Matching refs:bpbSecPerClust

106     u_int8_t bpbSecPerClust;		/* sectors per cluster */
150 u_int bpbSecPerClust; /* sectors per cluster */
328 if (bpb.bpbSecPerClust == 0) { /* set defaults */
330 bpb.bpbSecPerClust = 1;
332 bpb.bpbSecPerClust = 8;
334 bpb.bpbSecPerClust = 16;
336 bpb.bpbSecPerClust = 32;
338 bpb.bpbSecPerClust = 64; /* otherwise 32k */
387 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec;
395 bpb.bpbSecPerClust = o.sectors_per_cluster;
447 howmany((RESFTE + (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1)) *
448 (bpb.bpbSecPerClust ? 16 : 12) / BPN,
453 (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1) *
454 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
463 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust :
498 set_spc = (bpb.bpbSecPerClust == 0);
507 * bpbFATs reserved blocks. If bpbSecPerClust changes, it will
525 for (bpb.bpbSecPerClust = howmany(fat == 16 ? DEFBLK16 :
527 bpb.bpbSecPerClust < MAXSPC && (bpb.bpbResSectors +
531 (u_int64_t) (maxcls(fat) + 1) * bpb.bpbSecPerClust) <=
533 bpb.bpbSecPerClust <<= 1)
549 (bpb.bpbSecPerClust * bpb.bpbBytesPerSec * NPB +
561 bpb.bpbSecPerClust;
563 extra_res += bpb.bpbSecPerClust - alignment;
570 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
585 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1;
590 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust,
591 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat,
592 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust);
634 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) {
638 (dir + (fat == 32 ? bpb.bpbSecPerClust: rds)),
640 (fat == 32 ? bpb.bpbSecPerClust: rds)));
670 mk1(bsbpb->bpbSecPerClust, bpb.bpbSecPerClust);
979 bpb->bpbBytesPerSec, bpb->bpbSecPerClust, bpb->bpbResSectors,