Lines Matching refs:dx_leaves
2414 struct buffer_head **dx_leaves, in ocfs2_dx_dir_format_cluster() argument
2427 dx_leaves[i] = bh; in ocfs2_dx_dir_format_cluster()
2468 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster() argument
2493 ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves, in __ocfs2_dx_dir_new_cluster()
2510 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster() argument
2516 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2535 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves() local
2537 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2539 if (dx_leaves && ret_num_leaves) in ocfs2_dx_dir_kmalloc_leaves()
2542 return dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2624 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block() argument
2649 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2819 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir() local
2840 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(sb, in ocfs2_expand_inline_dir()
2842 if (!dx_leaves) { in ocfs2_expand_inline_dir()
2900 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2971 ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves, in ocfs2_expand_inline_dir()
3086 get_bh(dx_leaves[off]); in ocfs2_expand_inline_dir()
3087 lookup->dl_dx_leaf_bh = dx_leaves[off]; in ocfs2_expand_inline_dir()
3106 if (dx_leaves) { in ocfs2_expand_inline_dir()
3108 brelse(dx_leaves[i]); in ocfs2_expand_inline_dir()
3109 kfree(dx_leaves); in ocfs2_expand_inline_dir()
4046 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root() local
4063 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4064 if (!dx_leaves) { in ocfs2_expand_inline_dx_root()
4095 ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves, in ocfs2_expand_inline_dx_root()
4114 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4150 if (dx_leaves) { in ocfs2_expand_inline_dx_root()
4152 brelse(dx_leaves[i]); in ocfs2_expand_inline_dx_root()
4153 kfree(dx_leaves); in ocfs2_expand_inline_dx_root()