Home
last modified time | relevance | path

Searched refs:data_blocks (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c84 int data_blocks = 0; in main() local
95 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()
/external/e2fsprogs/resize/
Dresize2fs.c2792 blk64_t blks_needed, data_blocks; in calculate_minimum_resize_size() local
2853 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 …]
/external/e2fsprogs/debugfs/
Ddo_journal.c411 static blk64_t journal_guess_blocks(journal_t *journal, blk64_t data_blocks, in journal_guess_blocks() argument
429 ret += data_blocks * sz / bs; in journal_guess_blocks()
431 ret += data_blocks; in journal_guess_blocks()