• Home
  • Raw
  • Download

Lines Matching refs:bpbSecPerClust

118     u_int8_t bpbSecPerClust;		/* sectors per cluster */  member
162 u_int bpbSecPerClust; /* sectors per cluster */ member
336 if (bpb.bpbSecPerClust == 0) { /* set defaults */ in mkfs_msdos()
338 bpb.bpbSecPerClust = 1; in mkfs_msdos()
340 bpb.bpbSecPerClust = 8; in mkfs_msdos()
342 bpb.bpbSecPerClust = 16; in mkfs_msdos()
344 bpb.bpbSecPerClust = 32; in mkfs_msdos()
346 bpb.bpbSecPerClust = 64; /* otherwise 32k */ in mkfs_msdos()
397 bpb.bpbSecPerClust = o.block_size / bpb.bpbBytesPerSec; in mkfs_msdos()
405 bpb.bpbSecPerClust = o.sectors_per_cluster; in mkfs_msdos()
460 howmany((RESFTE + (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1)) * in mkfs_msdos()
461 (bpb.bpbSecPerClust ? 16 : 12) / BPN, in mkfs_msdos()
466 (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1) * in mkfs_msdos()
467 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
476 (bpb.bpbSecPerClust ? bpb.bpbSecPerClust : in mkfs_msdos()
511 set_spc = (bpb.bpbSecPerClust == 0); in mkfs_msdos()
538 for (bpb.bpbSecPerClust = howmany(fat == 16 ? DEFBLK16 : in mkfs_msdos()
540 bpb.bpbSecPerClust < MAXSPC && (bpb.bpbResSectors + in mkfs_msdos()
544 (u_int64_t) (maxcls(fat) + 1) * bpb.bpbSecPerClust) <= in mkfs_msdos()
546 bpb.bpbSecPerClust <<= 1) in mkfs_msdos()
562 (bpb.bpbSecPerClust * bpb.bpbBytesPerSec * NPB + in mkfs_msdos()
574 bpb.bpbSecPerClust; in mkfs_msdos()
576 extra_res += bpb.bpbSecPerClust - alignment; in mkfs_msdos()
583 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust; in mkfs_msdos()
598 bpb.bpbHugeSectors = x1 + (cls + 1) * bpb.bpbSecPerClust - 1; in mkfs_msdos()
603 "(%u bytes/cluster)\n", fname, cls * bpb.bpbSecPerClust, in mkfs_msdos()
604 cls * bpb.bpbSecPerClust == 1 ? "" : "s", cls, fat, in mkfs_msdos()
605 cls == 1 ? "" : "s", bpb.bpbBytesPerSec * bpb.bpbSecPerClust); in mkfs_msdos()
643 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) { in mkfs_msdos()
647 (dir + (fat == 32 ? bpb.bpbSecPerClust: rds)), in mkfs_msdos()
649 (fat == 32 ? bpb.bpbSecPerClust: rds))); in mkfs_msdos()
679 mk1(bsbpb->bpbSecPerClust, bpb.bpbSecPerClust); in mkfs_msdos()
968 bpb->bpbBytesPerSec, bpb->bpbSecPerClust, bpb->bpbResSectors, in print_bpb()