Lines Matching refs:dx_leaf_bh
638 struct buffer_head **dx_leaf_bh) in ocfs2_read_dx_leaf() argument
641 struct buffer_head *tmp = *dx_leaf_bh; in ocfs2_read_dx_leaf()
647 if (!ret && !*dx_leaf_bh) in ocfs2_read_dx_leaf()
648 *dx_leaf_bh = tmp; in ocfs2_read_dx_leaf()
902 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_dx_dir_search() local
930 ret = ocfs2_read_dx_leaf(dir, phys, &dx_leaf_bh); in ocfs2_dx_dir_search()
936 dx_leaf = (struct ocfs2_dx_leaf *) dx_leaf_bh->b_data; in ocfs2_dx_dir_search()
997 res->dl_dx_leaf_bh = dx_leaf_bh; in ocfs2_dx_dir_search()
1003 brelse(dx_leaf_bh); in ocfs2_dx_dir_search()
1463 struct buffer_head *dx_leaf_bh) in __ocfs2_dx_dir_leaf_insert() argument
1468 ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), dx_leaf_bh, in __ocfs2_dx_dir_leaf_insert()
1475 dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in __ocfs2_dx_dir_leaf_insert()
1477 ocfs2_journal_dirty(handle, dx_leaf_bh); in __ocfs2_dx_dir_leaf_insert()
2602 struct buffer_head *dx_leaf_bh; in ocfs2_dx_dir_index_block() local
2619 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2622 dirent_blk, dx_leaf_bh); in ocfs2_dx_dir_index_block()
3687 struct buffer_head *dx_leaf_bh, in ocfs2_dx_dir_rebalance() argument
3691 struct ocfs2_dx_leaf *dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in ocfs2_dx_dir_rebalance()
3763 ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), dx_leaf_bh, in ocfs2_dx_dir_rebalance()
3777 ocfs2_journal_dirty(handle, dx_leaf_bh); in ocfs2_dx_dir_rebalance()
3888 struct buffer_head *dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx() local
3903 ret = ocfs2_read_dx_leaf(dir, blkno, &dx_leaf_bh); in ocfs2_find_dir_space_dx()
3909 dx_leaf = (struct ocfs2_dx_leaf *)dx_leaf_bh->b_data; in ocfs2_find_dir_space_dx()
3925 ret = ocfs2_dx_dir_rebalance(osb, dir, dx_root_bh, dx_leaf_bh, in ocfs2_find_dir_space_dx()
3939 brelse(dx_leaf_bh); in ocfs2_find_dir_space_dx()
3940 dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3945 lookup->dl_dx_leaf_bh = dx_leaf_bh; in ocfs2_find_dir_space_dx()
3946 dx_leaf_bh = NULL; in ocfs2_find_dir_space_dx()
3949 brelse(dx_leaf_bh); in ocfs2_find_dir_space_dx()