Lines Matching refs:n_blocks_count
1569 ext4_fsblk_t n_blocks_count, in ext4_setup_next_flex_gd() argument
1587 if (o_blocks_count == n_blocks_count) in ext4_setup_next_flex_gd()
1592 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1778 ext4_fsblk_t n_blocks_count) in ext4_group_extend() argument
1792 o_blocks_count, n_blocks_count); in ext4_group_extend()
1794 if (n_blocks_count == 0 || n_blocks_count == o_blocks_count) in ext4_group_extend()
1797 if (n_blocks_count > (sector_t)(~0ULL) >> (sb->s_blocksize_bits - 9)) { in ext4_group_extend()
1800 n_blocks_count); in ext4_group_extend()
1804 if (n_blocks_count < o_blocks_count) { in ext4_group_extend()
1824 if (o_blocks_count + add > n_blocks_count) in ext4_group_extend()
1825 add = n_blocks_count - o_blocks_count; in ext4_group_extend()
1827 if (o_blocks_count + add < n_blocks_count) in ext4_group_extend()
1943 int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) in ext4_resize_fs() argument
1962 bh = ext4_sb_bread(sb, n_blocks_count - 1, 0); in ext4_resize_fs()
1973 "to %llu blocks", o_blocks_count, n_blocks_count); in ext4_resize_fs()
1975 if (n_blocks_count < o_blocks_count) { in ext4_resize_fs()
1981 if (n_blocks_count == o_blocks_count) in ext4_resize_fs()
1985 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
2005 n_blocks_count_retry = n_blocks_count; in ext4_resize_fs()
2009 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
2024 if ((!resize_inode && !meta_bg) || n_blocks_count == o_blocks_count) { in ext4_resize_fs()
2033 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
2048 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
2049 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2061 add = n_blocks_count - o_blocks_count; in ext4_resize_fs()
2070 if (ext4_blocks_count(es) == n_blocks_count) in ext4_resize_fs()
2090 while (ext4_setup_next_flex_gd(sb, flex_gd, n_blocks_count, in ext4_resize_fs()
2107 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()