Lines Matching refs:dx_leaves

2405 				       struct buffer_head **dx_leaves,  in ocfs2_dx_dir_format_cluster()  argument
2418 dx_leaves[i] = bh; in ocfs2_dx_dir_format_cluster()
2459 struct buffer_head **dx_leaves, in __ocfs2_dx_dir_new_cluster() argument
2484 ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves, in __ocfs2_dx_dir_new_cluster()
2501 struct buffer_head **dx_leaves, in ocfs2_dx_dir_new_cluster() argument
2507 ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves, in ocfs2_dx_dir_new_cluster()
2526 struct buffer_head **dx_leaves; in ocfs2_dx_dir_kmalloc_leaves() local
2528 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2530 if (dx_leaves && ret_num_leaves) in ocfs2_dx_dir_kmalloc_leaves()
2533 return dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2615 struct buffer_head **dx_leaves, in ocfs2_dx_dir_index_block() argument
2640 dx_leaf_bh = dx_leaves[i]; in ocfs2_dx_dir_index_block()
2810 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dir() local
2831 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(sb, in ocfs2_expand_inline_dir()
2833 if (!dx_leaves) { in ocfs2_expand_inline_dir()
2891 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2962 ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves, in ocfs2_expand_inline_dir()
3077 get_bh(dx_leaves[off]); in ocfs2_expand_inline_dir()
3078 lookup->dl_dx_leaf_bh = dx_leaves[off]; in ocfs2_expand_inline_dir()
3097 if (dx_leaves) { in ocfs2_expand_inline_dir()
3099 brelse(dx_leaves[i]); in ocfs2_expand_inline_dir()
3100 kfree(dx_leaves); in ocfs2_expand_inline_dir()
4034 struct buffer_head **dx_leaves = NULL; in ocfs2_expand_inline_dx_root() local
4051 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4052 if (!dx_leaves) { in ocfs2_expand_inline_dx_root()
4083 ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves, in ocfs2_expand_inline_dx_root()
4102 target_leaf = (struct ocfs2_dx_leaf *)dx_leaves[j]->b_data; in ocfs2_expand_inline_dx_root()
4138 if (dx_leaves) { in ocfs2_expand_inline_dx_root()
4140 brelse(dx_leaves[i]); in ocfs2_expand_inline_dx_root()
4141 kfree(dx_leaves); in ocfs2_expand_inline_dx_root()