Lines Matching refs:dx_leaves
2378 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster() argument
2391 dx_leaves[i] = bh; in ocfs2_dx_dir_format_cluster()
2432 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster() argument
2457 ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves, in __ocfs2_dx_dir_new_cluster()
2474 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster() argument
2480 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2499 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves() local
2501 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2503 if (dx_leaves && ret_num_leaves) in ocfs2_dx_dir_kmalloc_leaves()
2506 return dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2588 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block() argument
2613 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2783 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir() local
2804 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(sb, in ocfs2_expand_inline_dir()
2806 if (!dx_leaves) { in ocfs2_expand_inline_dir()
2864 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2935 ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves, in ocfs2_expand_inline_dir()
3050 get_bh(dx_leaves[off]); in ocfs2_expand_inline_dir()
3051 lookup->dl_dx_leaf_bh = dx_leaves[off]; in ocfs2_expand_inline_dir()
3070 if (dx_leaves) { in ocfs2_expand_inline_dir()
3072 brelse(dx_leaves[i]); in ocfs2_expand_inline_dir()
3073 kfree(dx_leaves); in ocfs2_expand_inline_dir()
4006 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root() local
4023 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4024 if (!dx_leaves) { in ocfs2_expand_inline_dx_root()
4055 ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves, in ocfs2_expand_inline_dx_root()
4074 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4110 if (dx_leaves) { in ocfs2_expand_inline_dx_root()
4112 brelse(dx_leaves[i]); in ocfs2_expand_inline_dx_root()
4113 kfree(dx_leaves); in ocfs2_expand_inline_dx_root()