Lines Matching refs:flex_size
372 int flex_size, struct orlov_stats *stats) in get_orlov_stats() argument
376 if (flex_size > 1) { in get_orlov_stats()
434 int flex_size = ext4_flex_bg_size(sbi); in find_group_orlov() local
438 if (flex_size > 1) { in find_group_orlov()
439 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
467 get_orlov_stats(sb, g, flex_size, &stats); in find_group_orlov()
483 if (flex_size == 1) { in find_group_orlov()
495 grp *= flex_size; in find_group_orlov()
496 for (i = 0; i < flex_size; i++) { in find_group_orlov()
508 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
509 min_inodes = avefreei - inodes_per_group*flex_size / 4; in find_group_orlov()
512 min_clusters = avefreec - EXT4_CLUSTERS_PER_GROUP(sb)*flex_size / 4; in find_group_orlov()
520 if (flex_size > 1) in find_group_orlov()
526 get_orlov_stats(sb, grp, flex_size, &stats); in find_group_orlov()
571 int flex_size = ext4_flex_bg_size(EXT4_SB(sb)); in find_group_other() local
580 if (flex_size > 1) { in find_group_other()
584 parent_group &= ~(flex_size-1); in find_group_other()
585 last = parent_group + flex_size; in find_group_other()
605 *group = parent_group + flex_size; in find_group_other()