Home
last modified time | relevance | path

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

/fs/ext4/
Dialloc.c377 int flex_size, struct orlov_stats *stats) in get_orlov_stats() argument
381 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()
444 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
472 get_orlov_stats(sb, g, flex_size, &stats); in find_group_orlov()
488 if (flex_size == 1) { in find_group_orlov()
500 grp *= flex_size; in find_group_orlov()
501 for (i = 0; i < flex_size; i++) { in find_group_orlov()
513 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
[all …]
Dballoc.c955 int flex_size = ext4_flex_bg_size(EXT4_SB(inode->i_sb)); in ext4_inode_to_goal_block() local
960 if (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) { in ext4_inode_to_goal_block()
969 block_group &= ~(flex_size-1); in ext4_inode_to_goal_block()
Dmballoc.c2445 int flex_size = ext4_flex_bg_size(EXT4_SB(ac->ac_sb)); in ext4_mb_good_group() local
2467 (flex_size >= EXT4_FLEX_SIZE_DIR_ALLOC_SCHEME) && in ext4_mb_good_group()
2468 ((group % flex_size) == 0)) in ext4_mb_good_group()