Lines Matching refs:n_blocks_count
1626 ext4_fsblk_t n_blocks_count, in ext4_setup_next_flex_gd() argument
1644 if (o_blocks_count == n_blocks_count) in ext4_setup_next_flex_gd()
1649 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1835 ext4_fsblk_t n_blocks_count) in ext4_group_extend() argument
1848 o_blocks_count, n_blocks_count); in ext4_group_extend()
1850 if (n_blocks_count == 0 || n_blocks_count == o_blocks_count) in ext4_group_extend()
1853 if (n_blocks_count > (sector_t)(~0ULL) >> (sb->s_blocksize_bits - 9)) { in ext4_group_extend()
1856 n_blocks_count); in ext4_group_extend()
1860 if (n_blocks_count < o_blocks_count) { in ext4_group_extend()
1880 if (o_blocks_count + add > n_blocks_count) in ext4_group_extend()
1881 add = n_blocks_count - o_blocks_count; in ext4_group_extend()
1883 if (o_blocks_count + add < n_blocks_count) in ext4_group_extend()
1998 int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) in ext4_resize_fs() argument
2017 bh = ext4_sb_bread(sb, n_blocks_count - 1, 0); in ext4_resize_fs()
2032 n_blocks_count &= ~((1 << EXT4_CLUSTER_BITS(sb)) - 1); in ext4_resize_fs()
2038 "to %llu blocks", o_blocks_count, n_blocks_count); in ext4_resize_fs()
2040 if (n_blocks_count < o_blocks_count) { in ext4_resize_fs()
2046 if (n_blocks_count == o_blocks_count) in ext4_resize_fs()
2050 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
2070 n_blocks_count_retry = n_blocks_count; in ext4_resize_fs()
2074 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
2089 if ((!resize_inode && !meta_bg) || n_blocks_count == o_blocks_count) { in ext4_resize_fs()
2098 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
2113 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
2114 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2126 add = n_blocks_count - o_blocks_count; in ext4_resize_fs()
2135 if (ext4_blocks_count(es) == n_blocks_count && n_blocks_count_retry == 0) in ext4_resize_fs()
2155 while (ext4_setup_next_flex_gd(sb, flex_gd, n_blocks_count, in ext4_resize_fs()
2172 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()