Lines Matching refs:n_blocks_count

1627 				    ext4_fsblk_t n_blocks_count,  in ext4_setup_next_flex_gd()  argument
1645 if (o_blocks_count == n_blocks_count) in ext4_setup_next_flex_gd()
1650 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1836 ext4_fsblk_t n_blocks_count) in ext4_group_extend() argument
1850 o_blocks_count, n_blocks_count); in ext4_group_extend()
1852 if (n_blocks_count == 0 || n_blocks_count == o_blocks_count) in ext4_group_extend()
1855 if (n_blocks_count > (sector_t)(~0ULL) >> (sb->s_blocksize_bits - 9)) { in ext4_group_extend()
1858 n_blocks_count); in ext4_group_extend()
1862 if (n_blocks_count < o_blocks_count) { in ext4_group_extend()
1882 if (o_blocks_count + add > n_blocks_count) in ext4_group_extend()
1883 add = n_blocks_count - o_blocks_count; in ext4_group_extend()
1885 if (o_blocks_count + add < n_blocks_count) in ext4_group_extend()
2001 int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) in ext4_resize_fs() argument
2020 bh = ext4_sb_bread(sb, n_blocks_count - 1, 0); in ext4_resize_fs()
2035 n_blocks_count &= ~((1 << EXT4_CLUSTER_BITS(sb)) - 1); in ext4_resize_fs()
2041 "to %llu blocks", o_blocks_count, n_blocks_count); in ext4_resize_fs()
2043 if (n_blocks_count < o_blocks_count) { in ext4_resize_fs()
2049 if (n_blocks_count == o_blocks_count) in ext4_resize_fs()
2053 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
2073 n_blocks_count_retry = n_blocks_count; in ext4_resize_fs()
2077 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
2092 if ((!resize_inode && !meta_bg) || n_blocks_count == o_blocks_count) { in ext4_resize_fs()
2101 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
2116 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
2117 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2129 add = n_blocks_count - o_blocks_count; in ext4_resize_fs()
2138 if (ext4_blocks_count(es) == n_blocks_count && n_blocks_count_retry == 0) in ext4_resize_fs()
2158 while (ext4_setup_next_flex_gd(sb, flex_gd, n_blocks_count, in ext4_resize_fs()
2175 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()