Lines Matching refs:num_blocks
61 static blk64_t num_blocks; variable
504 num_blocks = parse_num_blocks2(t, fs->super->s_log_block_size); in mk_hugefiles()
521 num_blocks = round_up_align(num_blocks, align, 0); in mk_hugefiles()
551 if (num_blocks && num_blocks > fs_blocks) in mk_hugefiles()
553 if (num_blocks == 0 && num_files == 0) in mk_hugefiles()
556 if (num_files == 0 && num_blocks) { in mk_hugefiles()
557 num_files = fs_blocks / num_blocks; in mk_hugefiles()
559 fs_blocks -= calc_overhead(fs, num_blocks) * num_files; in mk_hugefiles()
560 num_files = fs_blocks / num_blocks; in mk_hugefiles()
563 if (num_blocks == 0 && num_files > 1) { in mk_hugefiles()
564 num_blocks = fs_blocks / num_files; in mk_hugefiles()
566 fs_blocks -= calc_overhead(fs, num_blocks) * num_files; in mk_hugefiles()
567 num_blocks = fs_blocks / num_files; in mk_hugefiles()
570 num_slack += calc_overhead(fs, num_blocks) * num_files; in mk_hugefiles()
575 if ((num_blocks ? num_blocks : fs_blocks) > in mk_hugefiles()
583 if (num_blocks) in mk_hugefiles()
584 printf(_("with %llu blocks each"), num_blocks); in mk_hugefiles()
590 retval = mk_hugefile(fs, num_blocks, dir, i, &ino); in mk_hugefiles()