Lines Matching refs:n_blocks_count
1619 ext4_fsblk_t n_blocks_count, in ext4_setup_next_flex_gd() argument
1637 if (o_blocks_count == n_blocks_count) in ext4_setup_next_flex_gd()
1642 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1828 ext4_fsblk_t n_blocks_count) in ext4_group_extend() argument
1842 o_blocks_count, n_blocks_count); in ext4_group_extend()
1844 if (n_blocks_count == 0 || n_blocks_count == o_blocks_count) in ext4_group_extend()
1847 if (n_blocks_count > (sector_t)(~0ULL) >> (sb->s_blocksize_bits - 9)) { in ext4_group_extend()
1850 n_blocks_count); in ext4_group_extend()
1854 if (n_blocks_count < o_blocks_count) { in ext4_group_extend()
1874 if (o_blocks_count + add > n_blocks_count) in ext4_group_extend()
1875 add = n_blocks_count - o_blocks_count; in ext4_group_extend()
1877 if (o_blocks_count + add < n_blocks_count) in ext4_group_extend()
1993 int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) in ext4_resize_fs() argument
2012 bh = ext4_sb_bread(sb, n_blocks_count - 1, 0); in ext4_resize_fs()
2027 n_blocks_count &= ~((1 << EXT4_CLUSTER_BITS(sb)) - 1); in ext4_resize_fs()
2033 "to %llu blocks", o_blocks_count, n_blocks_count); in ext4_resize_fs()
2035 if (n_blocks_count < o_blocks_count) { in ext4_resize_fs()
2041 if (n_blocks_count == o_blocks_count) in ext4_resize_fs()
2045 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
2065 n_blocks_count_retry = n_blocks_count; in ext4_resize_fs()
2069 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
2084 if ((!resize_inode && !meta_bg) || n_blocks_count == o_blocks_count) { in ext4_resize_fs()
2093 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
2108 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
2109 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2121 add = n_blocks_count - o_blocks_count; in ext4_resize_fs()
2130 if (ext4_blocks_count(es) == n_blocks_count && n_blocks_count_retry == 0) in ext4_resize_fs()
2150 while (ext4_setup_next_flex_gd(sb, flex_gd, n_blocks_count, in ext4_resize_fs()
2167 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()