Lines Matching refs:gd_bh
384 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
435 if (gd_bh) { in ocfs2_find_victim_alloc_group()
436 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
437 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
440 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
446 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
451 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
482 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
500 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
504 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal()
529 brelse(gd_bh); in ocfs2_validate_and_adjust_move_goal()
584 struct buffer_head *gd_bh = NULL; in ocfs2_move_extent() local
664 &goal_bit, &gd_bh); in ocfs2_move_extent()
676 ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, in ocfs2_move_extent()
690 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent()
698 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent()
716 brelse(gd_bh); in ocfs2_move_extent()