Searched refs:flex_size (Results 1 – 3 of 3) sorted by relevance
377 int flex_size, struct orlov_stats *stats) in get_orlov_stats() argument381 if (flex_size > 1) { in get_orlov_stats()439 int flex_size = ext4_flex_bg_size(sbi); in find_group_orlov() local443 if (flex_size > 1) { in find_group_orlov()444 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()471 get_orlov_stats(sb, g, flex_size, &stats); in find_group_orlov()487 if (flex_size == 1) { in find_group_orlov()499 grp *= flex_size; in find_group_orlov()500 for (i = 0; i < flex_size; i++) { in find_group_orlov()512 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()[all …]
959 int flex_size = ext4_flex_bg_size(EXT4_SB(inode->i_sb)); in ext4_inode_to_goal_block() local964 if (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) { in ext4_inode_to_goal_block()973 block_group &= ~(flex_size-1); in ext4_inode_to_goal_block()
2577 int flex_size = ext4_flex_bg_size(EXT4_SB(ac->ac_sb)); in ext4_mb_good_group() local2599 (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) && in ext4_mb_good_group()2600 ((group % flex_size) == 0)) in ext4_mb_good_group()