Searched refs:data_blocks (Results 1 – 3 of 3) sorted by relevance
84 int data_blocks = 0; in main() local95 while (max_block <= data_blocks) { in main()98 data_blocks = random_number % 1000 + 1; in main()101 for (i = 1; i <= data_blocks; i++) { in main()102 offset = i * ((BLOCKSIZE * max_block) / data_blocks); in main()136 time_delta, max_block, data_blocks); in main()
2792 blk64_t blks_needed, data_blocks; in calculate_minimum_resize_size() local2853 data_blocks = EXT2_GROUPS_TO_BLOCKS(fs->super, groups); in calculate_minimum_resize_size()2867 if (data_blocks > overhead) in calculate_minimum_resize_size()2868 data_blocks -= overhead; in calculate_minimum_resize_size()2870 data_blocks = 0; in calculate_minimum_resize_size()2875 groups, data_blocks); in calculate_minimum_resize_size()2883 while (blks_needed > data_blocks) { in calculate_minimum_resize_size()2884 blk64_t remainder = blks_needed - data_blocks; in calculate_minimum_resize_size()2891 data_blocks += EXT2_GROUPS_TO_BLOCKS(fs->super, extra_grps); in calculate_minimum_resize_size()2921 data_blocks -= overhead; in calculate_minimum_resize_size()[all …]
411 static blk64_t journal_guess_blocks(journal_t *journal, blk64_t data_blocks, in journal_guess_blocks() argument429 ret += data_blocks * sz / bs; in journal_guess_blocks()431 ret += data_blocks; in journal_guess_blocks()