Lines Matching refs:n_blocks_count
1528 ext4_fsblk_t n_blocks_count, in ext4_setup_next_flex_gd() argument
1546 if (o_blocks_count == n_blocks_count) in ext4_setup_next_flex_gd()
1551 ext4_get_group_no_and_offset(sb, n_blocks_count - 1, &n_group, &last); in ext4_setup_next_flex_gd()
1733 ext4_fsblk_t n_blocks_count) in ext4_group_extend() argument
1747 o_blocks_count, n_blocks_count); in ext4_group_extend()
1749 if (n_blocks_count == 0 || n_blocks_count == o_blocks_count) in ext4_group_extend()
1752 if (n_blocks_count > (sector_t)(~0ULL) >> (sb->s_blocksize_bits - 9)) { in ext4_group_extend()
1755 n_blocks_count); in ext4_group_extend()
1761 if (n_blocks_count < o_blocks_count) { in ext4_group_extend()
1781 if (o_blocks_count + add > n_blocks_count) in ext4_group_extend()
1782 add = n_blocks_count - o_blocks_count; in ext4_group_extend()
1784 if (o_blocks_count + add < n_blocks_count) in ext4_group_extend()
1896 int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) in ext4_resize_fs() argument
1915 bh = sb_bread(sb, n_blocks_count - 1); in ext4_resize_fs()
1926 "to %llu blocks", o_blocks_count, n_blocks_count); in ext4_resize_fs()
1928 if (n_blocks_count < o_blocks_count) { in ext4_resize_fs()
1934 if (n_blocks_count == o_blocks_count) in ext4_resize_fs()
1938 n_group = ext4_get_group_number(sb, n_blocks_count - 1); in ext4_resize_fs()
1958 n_blocks_count_retry = n_blocks_count; in ext4_resize_fs()
1962 n_blocks_count = (ext4_fsblk_t)n_group * in ext4_resize_fs()
1975 if ((!resize_inode && !meta_bg) || n_blocks_count == o_blocks_count) { in ext4_resize_fs()
1984 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
1999 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
2000 n_blocks_count = ext4_group_first_block_no(sb, n_group); in ext4_resize_fs()
2012 add = n_blocks_count - o_blocks_count; in ext4_resize_fs()
2021 if (ext4_blocks_count(es) == n_blocks_count) in ext4_resize_fs()
2041 while (ext4_setup_next_flex_gd(sb, flex_gd, n_blocks_count, in ext4_resize_fs()
2058 n_blocks_count = n_blocks_count_retry; in ext4_resize_fs()
2070 ext4_msg(sb, KERN_INFO, "resized filesystem to %llu", n_blocks_count); in ext4_resize_fs()