Searched refs:flex_size (Results 1 – 4 of 4) sorted by relevance
378 int flex_size, struct orlov_stats *stats) in get_orlov_stats() argument382 if (flex_size > 1) { in get_orlov_stats()440 int flex_size = ext4_flex_bg_size(sbi); in find_group_orlov() local444 if (flex_size > 1) { in find_group_orlov()445 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()473 get_orlov_stats(sb, g, flex_size, &stats); in find_group_orlov()489 if (flex_size == 1) { in find_group_orlov()501 grp *= flex_size; in find_group_orlov()502 for (i = 0; i < flex_size; i++) { in find_group_orlov()515 min_inodes = avefreei - inodes_per_group*flex_size / 4; in find_group_orlov()[all …]
182 int flex_size = ext4_flex_bg_size(sbi); in ext4_setup_system_zone() local195 ((i < 5) || ((i % flex_size) == 0))) in ext4_setup_system_zone()
883 int flex_size = ext4_flex_bg_size(EXT4_SB(inode->i_sb)); in ext4_inode_to_goal_block() local888 if (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) { in ext4_inode_to_goal_block()897 block_group &= ~(flex_size-1); in ext4_inode_to_goal_block()
2044 int flex_size = ext4_flex_bg_size(EXT4_SB(ac->ac_sb)); in ext4_mb_good_group() local2075 (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) && in ext4_mb_good_group()2076 ((group % flex_size) == 0)) in ext4_mb_good_group()