Home
last modified time | relevance | path

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

/openbmc/linux/fs/ext4/
H A Dialloc.c381 if (flex_size > 1) { in get_orlov_stats()
439 int flex_size = ext4_flex_bg_size(sbi); in find_group_orlov() local
443 if (flex_size > 1) { 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()
526 if (flex_size > 1) in find_group_orlov()
586 if (flex_size > 1) { in find_group_other()
590 parent_group &= ~(flex_size-1); in find_group_other()
591 last = parent_group + flex_size; in find_group_other()
[all …]
H A Dballoc.c959 int flex_size = ext4_flex_bg_size(EXT4_SB(inode->i_sb)); in ext4_inode_to_goal_block() local
964 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()
H A Dmballoc.c2581 int flex_size = ext4_flex_bg_size(EXT4_SB(ac->ac_sb)); in ext4_mb_good_group() local
2603 (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) && in ext4_mb_good_group()
2604 ((group % flex_size) == 0)) in ext4_mb_good_group()