Lines Matching refs:dx_leaves

2404 				       struct buffer_head **dx_leaves,  in ocfs2_dx_dir_format_cluster()  argument
2417 dx_leaves[i] = bh; in ocfs2_dx_dir_format_cluster()
2458 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster() argument
2483 ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves, in __ocfs2_dx_dir_new_cluster()
2500 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster() argument
2506 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2525 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves() local
2527 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2529 if (dx_leaves && ret_num_leaves) in ocfs2_dx_dir_kmalloc_leaves()
2532 return dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2614 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block() argument
2639 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2809 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir() local
2830 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(sb, in ocfs2_expand_inline_dir()
2832 if (!dx_leaves) { in ocfs2_expand_inline_dir()
2890 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2961 ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves, in ocfs2_expand_inline_dir()
3076 get_bh(dx_leaves[off]); in ocfs2_expand_inline_dir()
3077 lookup->dl_dx_leaf_bh = dx_leaves[off]; in ocfs2_expand_inline_dir()
3096 if (dx_leaves) { in ocfs2_expand_inline_dir()
3098 brelse(dx_leaves[i]); in ocfs2_expand_inline_dir()
3099 kfree(dx_leaves); in ocfs2_expand_inline_dir()
4033 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root() local
4050 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4051 if (!dx_leaves) { in ocfs2_expand_inline_dx_root()
4082 ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves, in ocfs2_expand_inline_dx_root()
4101 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4137 if (dx_leaves) { in ocfs2_expand_inline_dx_root()
4139 brelse(dx_leaves[i]); in ocfs2_expand_inline_dx_root()
4140 kfree(dx_leaves); in ocfs2_expand_inline_dx_root()