Lines Matching refs:dx_leaves
2376 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster() argument
2389 dx_leaves[i] = bh; in ocfs2_dx_dir_format_cluster()
2430 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster() argument
2455 ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves, in __ocfs2_dx_dir_new_cluster()
2472 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster() argument
2478 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2497 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves() local
2499 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2501 if (dx_leaves && ret_num_leaves) in ocfs2_dx_dir_kmalloc_leaves()
2504 return dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2586 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block() argument
2611 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2781 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir() local
2802 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(sb, in ocfs2_expand_inline_dir()
2804 if (!dx_leaves) { in ocfs2_expand_inline_dir()
2862 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2933 ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves, in ocfs2_expand_inline_dir()
3048 get_bh(dx_leaves[off]); in ocfs2_expand_inline_dir()
3049 lookup->dl_dx_leaf_bh = dx_leaves[off]; in ocfs2_expand_inline_dir()
3068 if (dx_leaves) { in ocfs2_expand_inline_dir()
3070 brelse(dx_leaves[i]); in ocfs2_expand_inline_dir()
3071 kfree(dx_leaves); in ocfs2_expand_inline_dir()
4004 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root() local
4021 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4022 if (!dx_leaves) { in ocfs2_expand_inline_dx_root()
4053 ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves, in ocfs2_expand_inline_dx_root()
4072 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4108 if (dx_leaves) { in ocfs2_expand_inline_dx_root()
4110 brelse(dx_leaves[i]); in ocfs2_expand_inline_dx_root()
4111 kfree(dx_leaves); in ocfs2_expand_inline_dx_root()