Lines Matching refs:es

135 	struct ext4_super_block *es = sbi->s_es;  in verify_group_input()  local
136 ext4_fsblk_t start = ext4_blocks_count(es); in verify_group_input()
529 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() local
541 reserved_gdb = le16_to_cpu(es->s_reserved_gdt_blocks); in setup_new_flex_group_blocks()
734 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_list_backups() local
743 ret = le32_to_cpu(es->s_backup_bgs[*min - 1]); in ext4_list_backups()
822 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() local
934 le16_add_cpu(&es->s_reserved_gdt_blocks, -1); in add_new_gdb()
1238 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() local
1246 le16_to_cpu(es->s_reserved_gdt_blocks) : 0; in ext4_add_new_descs()
1398 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() local
1417 reserved_blocks = ext4_r_blocks_count(es) * 100; in ext4_update_super()
1418 reserved_blocks = div64_u64(reserved_blocks, ext4_blocks_count(es)); in ext4_update_super()
1423 ext4_blocks_count_set(es, ext4_blocks_count(es) + blocks_count); in ext4_update_super()
1424 ext4_free_blocks_count_set(es, ext4_free_blocks_count(es) + free_blocks); in ext4_update_super()
1425 le32_add_cpu(&es->s_inodes_count, EXT4_INODES_PER_GROUP(sb) * in ext4_update_super()
1427 le32_add_cpu(&es->s_free_inodes_count, EXT4_INODES_PER_GROUP(sb) * in ext4_update_super()
1430 ext4_debug("free blocks count %llu", ext4_free_blocks_count(es)); in ext4_update_super()
1458 ext4_r_blocks_count_set(es, ext4_r_blocks_count(es) + in ext4_update_super()
1487 es->s_overhead_clusters = cpu_to_le32(sbi->s_overhead); in ext4_update_super()
1504 struct ext4_super_block *es = sbi->s_es; in ext4_flex_group_add() local
1514 reserved_gdb = le16_to_cpu(es->s_reserved_gdt_blocks); in ext4_flex_group_add()
1515 o_blocks_count = ext4_blocks_count(es); in ext4_flex_group_add()
1572 update_backups(sb, sbi->s_sbh->b_blocknr, (char *)es, in ext4_flex_group_add()
1596 struct ext4_super_block *es = sbi->s_es; in ext4_setup_next_flex_gd() local
1608 o_blocks_count = ext4_blocks_count(es); in ext4_setup_next_flex_gd()
1670 struct ext4_super_block *es = sbi->s_es; in ext4_group_add() local
1672 le16_to_cpu(es->s_reserved_gdt_blocks) : 0; in ext4_group_add()
1685 if (ext4_blocks_count(es) + input->blocks_count < in ext4_group_add()
1686 ext4_blocks_count(es)) { in ext4_group_add()
1691 if (le32_to_cpu(es->s_inodes_count) + EXT4_INODES_PER_GROUP(sb) < in ext4_group_add()
1692 le32_to_cpu(es->s_inodes_count)) { in ext4_group_add()
1699 !le16_to_cpu(es->s_reserved_gdt_blocks)) { in ext4_group_add()
1739 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_group_extend_no_check() local
1762 ext4_blocks_count_set(es, o_blocks_count + add); in ext4_group_extend_no_check()
1763 ext4_free_blocks_count_set(es, ext4_free_blocks_count(es) + add); in ext4_group_extend_no_check()
1783 "blocks\n", ext4_blocks_count(es)); in ext4_group_extend_no_check()
1785 (char *)es, sizeof(struct ext4_super_block), 0); in ext4_group_extend_no_check()
1800 int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es, in ext4_group_extend() argument
1810 o_blocks_count = ext4_blocks_count(es); in ext4_group_extend()
1881 struct ext4_super_block *es = sbi->s_es; in ext4_convert_meta_bg() local
1889 if (es->s_reserved_gdt_blocks) { in ext4_convert_meta_bg()
1970 struct ext4_super_block *es = sbi->s_es; in ext4_resize_fs() local
2003 o_blocks_count = ext4_blocks_count(es); in ext4_resize_fs()
2037 le16_to_cpu(es->s_reserved_gdt_blocks)) { in ext4_resize_fs()
2040 le16_to_cpu(es->s_reserved_gdt_blocks); in ext4_resize_fs()
2044 le32_to_cpu(es->s_first_data_block); in ext4_resize_fs()
2103 if (ext4_blocks_count(es) == n_blocks_count) in ext4_resize_fs()
2129 ext4_blocks_count(es)); in ext4_resize_fs()
2160 ext4_blocks_count(es)); in ext4_resize_fs()