Lines Matching refs:gdb_bh
830 struct buffer_head *gdb_bh = NULL; in add_new_gdb() local
841 gdb_bh = ext4_sb_bread(sb, gdblock, 0); in add_new_gdb()
842 if (IS_ERR(gdb_bh)) in add_new_gdb()
843 return PTR_ERR(gdb_bh); in add_new_gdb()
845 gdbackups = verify_reserved_gdb(sb, group, gdb_bh); in add_new_gdb()
872 BUFFER_TRACE(gdb_bh, "get_write_access"); in add_new_gdb()
873 err = ext4_journal_get_write_access(handle, gdb_bh); in add_new_gdb()
917 memset(gdb_bh->b_data, 0, sb->s_blocksize); in add_new_gdb()
918 err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh); in add_new_gdb()
931 n_group_desc[gdb_num] = gdb_bh; in add_new_gdb()
945 brelse(gdb_bh); in add_new_gdb()
957 struct buffer_head *gdb_bh; in add_new_gdb_meta_bg() local
964 gdb_bh = ext4_sb_bread(sb, gdblock, 0); in add_new_gdb_meta_bg()
965 if (IS_ERR(gdb_bh)) in add_new_gdb_meta_bg()
966 return PTR_ERR(gdb_bh); in add_new_gdb_meta_bg()
971 brelse(gdb_bh); in add_new_gdb_meta_bg()
983 n_group_desc[gdb_num] = gdb_bh; in add_new_gdb_meta_bg()
985 BUFFER_TRACE(gdb_bh, "get_write_access"); in add_new_gdb_meta_bg()
986 err = ext4_journal_get_write_access(handle, gdb_bh); in add_new_gdb_meta_bg()
989 brelse(gdb_bh); in add_new_gdb_meta_bg()
1242 struct buffer_head *gdb_bh; in ext4_add_new_descs() local
1261 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, in ext4_add_new_descs()
1263 BUFFER_TRACE(gdb_bh, "get_write_access"); in ext4_add_new_descs()
1264 err = ext4_journal_get_write_access(handle, gdb_bh); in ext4_add_new_descs()
1329 struct buffer_head *gdb_bh; in ext4_setup_new_descs() local
1344 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, gdb_num); in ext4_setup_new_descs()
1346 gdp = (struct ext4_group_desc *)(gdb_bh->b_data + in ext4_setup_new_descs()
1368 err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh); in ext4_setup_new_descs()
1573 struct buffer_head *gdb_bh; in ext4_flex_group_add() local
1575 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, in ext4_flex_group_add()
1577 if (old_gdb == gdb_bh->b_blocknr) in ext4_flex_group_add()
1579 update_backups(sb, gdb_bh->b_blocknr, gdb_bh->b_data, in ext4_flex_group_add()
1580 gdb_bh->b_size, meta_bg); in ext4_flex_group_add()
1581 old_gdb = gdb_bh->b_blocknr; in ext4_flex_group_add()