Lines Matching refs:n_group
1639 ext4_group_t n_group; in ext4_setup_next_flex_gd() local
1655 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1658 if (last_group > n_group) in ext4_setup_next_flex_gd()
1659 last_group = n_group; in ext4_setup_next_flex_gd()
1680 if (last_group == n_group && ext4_has_group_desc_csum(sb)) in ext4_setup_next_flex_gd()
1684 if ((last_group == n_group) && (last != clusters_per_group - 1)) { in ext4_setup_next_flex_gd()
2013 ext4_group_t n_group; in ext4_resize_fs() local
2055 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
2056 if (n_group >= (0xFFFFFFFFUL / EXT4_INODES_PER_GROUP(sb))) { in ext4_resize_fs()
2062 n_desc_blocks = num_desc_blocks(sb, n_group + 1); in ext4_resize_fs()
2078 n_group = n_desc_blocks * EXT4_DESC_PER_BLOCK(sb); in ext4_resize_fs()
2079 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
2082 n_group--; /* set to last group number */ in ext4_resize_fs()
2116 if ((ext4_group_first_block_no(sb, n_group) + in ext4_resize_fs()
2117 ext4_group_overhead_blocks(sb, n_group) + 2 + in ext4_resize_fs()
2119 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2120 n_group--; in ext4_resize_fs()
2130 if (n_group == o_group) in ext4_resize_fs()
2143 err = ext4_alloc_flex_bg_array(sb, n_group + 1); in ext4_resize_fs()
2147 err = ext4_mb_alloc_groupinfo(sb, n_group + 1); in ext4_resize_fs()