Lines Matching refs:gd_bh
374 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
425 if (gd_bh) { in ocfs2_find_victim_alloc_group()
426 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
427 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
430 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
436 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
441 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
472 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
490 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
494 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal()
519 brelse(gd_bh); in ocfs2_validate_and_adjust_move_goal()
574 struct buffer_head *gd_bh = NULL; in ocfs2_move_extent() local
656 &goal_bit, &gd_bh); in ocfs2_move_extent()
668 ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, in ocfs2_move_extent()
682 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent()
690 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent()
708 brelse(gd_bh); in ocfs2_move_extent()