Lines Matching refs:gd_bh
375 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
426 if (gd_bh) { in ocfs2_find_victim_alloc_group()
427 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
428 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
431 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
437 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
442 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
473 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
491 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
495 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal()
520 brelse(gd_bh); in ocfs2_validate_and_adjust_move_goal()
652 struct buffer_head *gd_bh = NULL; in ocfs2_move_extent() local
734 &goal_bit, &gd_bh); in ocfs2_move_extent()
746 ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, in ocfs2_move_extent()
760 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent()
768 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent()
783 brelse(gd_bh); in ocfs2_move_extent()