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()
873 BUFFER_TRACE(gdb_bh, "get_write_access"); in add_new_gdb()
874 err = ext4_journal_get_write_access(handle, sb, gdb_bh, EXT4_JTR_NONE); 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()
948 brelse(gdb_bh); in add_new_gdb()
960 struct buffer_head *gdb_bh; in add_new_gdb_meta_bg() local
967 gdb_bh = ext4_sb_bread(sb, gdblock, 0); in add_new_gdb_meta_bg()
968 if (IS_ERR(gdb_bh)) in add_new_gdb_meta_bg()
969 return PTR_ERR(gdb_bh); in add_new_gdb_meta_bg()
973 brelse(gdb_bh); in add_new_gdb_meta_bg()
985 n_group_desc[gdb_num] = gdb_bh; in add_new_gdb_meta_bg()
987 BUFFER_TRACE(gdb_bh, "get_write_access"); in add_new_gdb_meta_bg()
988 err = ext4_journal_get_write_access(handle, sb, gdb_bh, EXT4_JTR_NONE); in add_new_gdb_meta_bg()
991 brelse(gdb_bh); in add_new_gdb_meta_bg()
1255 struct buffer_head *gdb_bh; in ext4_add_new_descs() local
1274 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, in ext4_add_new_descs()
1276 BUFFER_TRACE(gdb_bh, "get_write_access"); in ext4_add_new_descs()
1277 err = ext4_journal_get_write_access(handle, sb, gdb_bh, in ext4_add_new_descs()
1342 struct buffer_head *gdb_bh; in ext4_setup_new_descs() local
1357 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, gdb_num); in ext4_setup_new_descs()
1359 gdp = (struct ext4_group_desc *)(gdb_bh->b_data + in ext4_setup_new_descs()
1381 err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh); in ext4_setup_new_descs()
1609 struct buffer_head *gdb_bh; in ext4_flex_group_add() local
1611 gdb_bh = sbi_array_rcu_deref(sbi, s_group_desc, in ext4_flex_group_add()
1613 if (old_gdb == gdb_bh->b_blocknr) in ext4_flex_group_add()
1615 update_backups(sb, gdb_bh->b_blocknr, gdb_bh->b_data, in ext4_flex_group_add()
1616 gdb_bh->b_size, meta_bg); in ext4_flex_group_add()
1617 old_gdb = gdb_bh->b_blocknr; in ext4_flex_group_add()