Lines Matching refs:gd_bh
372 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
423 if (gd_bh) { in ocfs2_find_victim_alloc_group()
424 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
425 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
428 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
434 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
439 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
470 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
488 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
492 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal()
517 brelse(gd_bh); in ocfs2_validate_and_adjust_move_goal()
573 struct buffer_head *gd_bh = NULL; in ocfs2_move_extent() local
653 &goal_bit, &gd_bh); in ocfs2_move_extent()
665 ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, in ocfs2_move_extent()
679 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent()
687 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent()
705 brelse(gd_bh); in ocfs2_move_extent()