Lines Matching refs:num_dx_leaves
2385 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument
2391 for (i = 0; i < num_dx_leaves; i++) { in ocfs2_dx_dir_format_cluster()
2439 int num_dx_leaves, u64 *ret_phys_blkno) in __ocfs2_dx_dir_new_cluster() argument
2464 num_dx_leaves, phys_blkno); in __ocfs2_dx_dir_new_cluster()
2481 int num_dx_leaves) in ocfs2_dx_dir_new_cluster() argument
2487 num_dx_leaves, &phys_blkno); in ocfs2_dx_dir_new_cluster()
2504 int num_dx_leaves = ocfs2_clusters_to_blocks(sb, 1); in ocfs2_dx_dir_kmalloc_leaves() local
2507 dx_leaves = kcalloc(num_dx_leaves, sizeof(struct buffer_head *), in ocfs2_dx_dir_kmalloc_leaves()
2510 *ret_num_leaves = num_dx_leaves; in ocfs2_dx_dir_kmalloc_leaves()
2595 int num_dx_leaves, in ocfs2_dx_dir_index_block() argument
2779 int ret, i, num_dx_leaves = 0, dx_inline = 0, in ocfs2_expand_inline_dir() local
2811 &num_dx_leaves); in ocfs2_expand_inline_dir()
2870 dx_leaves, num_dx_leaves, in ocfs2_expand_inline_dir()
2942 num_dx_leaves, &num_dx_entries, in ocfs2_expand_inline_dir()
3077 for (i = 0; i < num_dx_leaves; i++) in ocfs2_expand_inline_dir()
3633 int num_dx_leaves) in ocfs2_dx_dir_transfer_leaf() argument
3643 for (i = 0; i < num_dx_leaves; i++) { in ocfs2_dx_dir_transfer_leaf()
3695 int num_dx_leaves; in ocfs2_dx_dir_rebalance() local
3727 orig_dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_dx_dir_rebalance()
3814 ret = ocfs2_read_dx_leaves(dir, orig_leaves_start, num_dx_leaves, in ocfs2_dx_dir_rebalance()
3824 num_dx_leaves); in ocfs2_dx_dir_rebalance()
3830 for (i = 0; i < num_dx_leaves; i++) { in ocfs2_dx_dir_rebalance()
3849 orig_dx_leaves, new_dx_leaves, num_dx_leaves); in ocfs2_dx_dir_rebalance()
3861 for (i = 0; i < num_dx_leaves; i++) { in ocfs2_dx_dir_rebalance()
4004 int ret, num_dx_leaves, i, j, did_quota = 0; in ocfs2_expand_inline_dx_root() local
4022 dx_leaves = ocfs2_dx_dir_kmalloc_leaves(osb->sb, &num_dx_leaves); in ocfs2_expand_inline_dx_root()
4055 num_dx_leaves, &insert_blkno); in ocfs2_expand_inline_dx_root()
4110 for (i = 0; i < num_dx_leaves; i++) in ocfs2_expand_inline_dx_root()