Lines Matching refs:gd_bh
376 struct buffer_head *ac_bh = NULL, *gd_bh = NULL; in ocfs2_find_victim_alloc_group() local
427 if (gd_bh) { in ocfs2_find_victim_alloc_group()
428 brelse(gd_bh); in ocfs2_find_victim_alloc_group()
429 gd_bh = NULL; in ocfs2_find_victim_alloc_group()
432 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &gd_bh); in ocfs2_find_victim_alloc_group()
438 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
443 *ret_bh = gd_bh; in ocfs2_find_victim_alloc_group()
474 struct buffer_head *gd_bh = NULL; in ocfs2_validate_and_adjust_move_goal() local
492 &goal_bit, &gd_bh); in ocfs2_validate_and_adjust_move_goal()
496 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal()
521 brelse(gd_bh); in ocfs2_validate_and_adjust_move_goal()
576 struct buffer_head *gd_bh = NULL; in ocfs2_move_extent() local
658 &goal_bit, &gd_bh); in ocfs2_move_extent()
670 ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, in ocfs2_move_extent()
684 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent()
692 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent()
710 brelse(gd_bh); in ocfs2_move_extent()