Lines Matching refs:EXT4_SB

49 	struct ext4_sb_info *sbi = EXT4_SB(sb);  in ext4_resize_begin()
59 if (EXT4_SB(sb)->s_es->s_reserved_gdt_blocks && in ext4_resize_begin()
71 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) { in ext4_resize_begin()
73 (unsigned long long)EXT4_SB(sb)->s_sbh->b_blocknr); in ext4_resize_begin()
81 if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) { in ext4_resize_begin()
93 &EXT4_SB(sb)->s_ext4_flags)) in ext4_resize_begin()
101 clear_bit_unlock(EXT4_FLAGS_RESIZING, &EXT4_SB(sb)->s_ext4_flags); in ext4_resize_end()
123 le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in ext4_group_overhead_blocks()
133 struct ext4_sb_info *sbi = EXT4_SB(sb); in verify_group_input()
362 unsigned int itb = EXT4_SB(sb)->s_itb_per_group; in ext4_alloc_group_tables()
381 start_blk += EXT4_SB(sb)->s_itb_per_group; in ext4_alloc_group_tables()
387 EXT4_NUM_B2C(EXT4_SB(sb), in ext4_alloc_group_tables()
470 struct ext4_sb_info *sbi = EXT4_SB(sb); in set_flexbg_block_bitmap()
540 int group_table_count[] = {1, 1, EXT4_SB(sb)->s_itb_per_group}; in setup_new_flex_group_blocks()
543 struct ext4_sb_info *sbi = EXT4_SB(sb); in setup_new_flex_group_blocks()
825 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb()
827 ext4_fsblk_t gdblock = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + gdb_num; in add_new_gdb()
867 BUFFER_TRACE(EXT4_SB(sb)->s_sbh, "get_write_access"); in add_new_gdb()
868 err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh); in add_new_gdb()
915 (9 - EXT4_SB(sb)->s_cluster_bits); in add_new_gdb()
927 o_group_desc = rcu_dereference(EXT4_SB(sb)->s_group_desc); in add_new_gdb()
929 EXT4_SB(sb)->s_gdb_count * sizeof(struct buffer_head *)); in add_new_gdb()
932 rcu_assign_pointer(EXT4_SB(sb)->s_group_desc, n_group_desc); in add_new_gdb()
933 EXT4_SB(sb)->s_gdb_count++; in add_new_gdb()
979 o_group_desc = rcu_dereference(EXT4_SB(sb)->s_group_desc); in add_new_gdb_meta_bg()
981 EXT4_SB(sb)->s_gdb_count * sizeof(struct buffer_head *)); in add_new_gdb_meta_bg()
993 rcu_assign_pointer(EXT4_SB(sb)->s_group_desc, n_group_desc); in add_new_gdb_meta_bg()
994 EXT4_SB(sb)->s_gdb_count++; in add_new_gdb_meta_bg()
1016 int reserved_gdb =le16_to_cpu(EXT4_SB(sb)->s_es->s_reserved_gdt_blocks); in reserve_backup_gdb()
1017 int cluster_bits = EXT4_SB(sb)->s_cluster_bits; in reserve_backup_gdb()
1039 blk = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + EXT4_SB(sb)->s_gdb_count; in reserve_backup_gdb()
1040 data = (__le32 *)dind->b_data + (EXT4_SB(sb)->s_gdb_count % in reserve_backup_gdb()
1129 struct ext4_sb_info *sbi = EXT4_SB(sb); in update_backups()
1240 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_add_new_descs()
1328 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_setup_new_descs()
1399 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_update_super()
1502 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_flex_group_add()
1593 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_setup_next_flex_gd()
1667 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_group_add()
1737 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_group_extend_no_check()
1751 BUFFER_TRACE(EXT4_SB(sb)->s_sbh, "get_write_access"); in ext4_group_extend_no_check()
1752 err = ext4_journal_get_write_access(handle, EXT4_SB(sb)->s_sbh); in ext4_group_extend_no_check()
1876 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_convert_meta_bg()
1961 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_resize_fs()