• Home
  • Raw
  • Download

Lines Matching refs:overhead

694 	blk64_t		overhead = 0;  in adjust_fs_info()  local
722 overhead = (int) (2 + fs->inode_blocks_per_group); in adjust_fs_info()
737 overhead += 1 + fs->desc_blocks + in adjust_fs_info()
747 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) in adjust_fs_info()
749 if ((fs->group_desc_count > 1) && rem && (rem < overhead+50)) { in adjust_fs_info()
2872 int overhead; in calc_group_overhead() local
2875 overhead = fs->inode_blocks_per_group + 2; in calc_group_overhead()
2880 overhead++; in calc_group_overhead()
2882 overhead += old_desc_blocks; in calc_group_overhead()
2884 overhead++; in calc_group_overhead()
2885 return overhead; in calc_group_overhead()
2898 blk64_t overhead = 0; in calculate_minimum_resize_size() local
2960 overhead = calc_group_overhead(fs, grp, old_desc_blocks); in calculate_minimum_resize_size()
2969 overhead; in calculate_minimum_resize_size()
2971 if (data_blocks > overhead) in calculate_minimum_resize_size()
2972 data_blocks -= overhead; in calculate_minimum_resize_size()
2998 overhead = calc_group_overhead(fs, groups-1, old_desc_blocks); in calculate_minimum_resize_size()
2999 last_start += EXT2_BLOCKS_PER_GROUP(fs->super) - overhead; in calculate_minimum_resize_size()
3014 overhead = calc_group_overhead(fs, grp, in calculate_minimum_resize_size()
3023 - overhead; in calculate_minimum_resize_size()
3025 data_blocks -= overhead; in calculate_minimum_resize_size()
3042 overhead = 0; in calculate_minimum_resize_size()
3044 overhead += calc_group_overhead(fs, grp, old_desc_blocks); in calculate_minimum_resize_size()
3048 printf("Last group's overhead is %llu\n", overhead); in calculate_minimum_resize_size()
3070 overhead += remainder; in calculate_minimum_resize_size()
3072 overhead += 50; in calculate_minimum_resize_size()
3074 overhead += 50; in calculate_minimum_resize_size()
3076 overhead += fs->super->s_first_data_block; in calculate_minimum_resize_size()
3079 printf("Final size of last group is %lld\n", overhead); in calculate_minimum_resize_size()
3084 overhead += EXT2FS_CLUSTER_RATIO(fs) * 2; in calculate_minimum_resize_size()
3093 blks_needed += overhead; in calculate_minimum_resize_size()
3099 overhead = ext2fs_inode_table_loc(fs, groups-1) + in calculate_minimum_resize_size()
3101 if (blks_needed < overhead) in calculate_minimum_resize_size()
3102 blks_needed = overhead; in calculate_minimum_resize_size()