Lines Matching refs:subtree_index

2055 				       int subtree_index)  in ocfs2_complete_edge_insert()  argument
2060 struct buffer_head *root_bh = left_path->p_node[subtree_index].bh; in ocfs2_complete_edge_insert()
2076 for(i = left_path->p_tree_depth - 1; i > subtree_index; i--) { in ocfs2_complete_edge_insert()
2110 el = left_path->p_node[subtree_index].el; in ocfs2_complete_edge_insert()
2111 left_el = left_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2112 right_el = right_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2115 left_path->p_node[subtree_index + 1].bh->b_blocknr); in ocfs2_complete_edge_insert()
2117 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_complete_edge_insert()
2126 int subtree_index) in ocfs2_rotate_subtree_right() argument
2154 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_rotate_subtree_right()
2155 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_rotate_subtree_right()
2158 subtree_index); in ocfs2_rotate_subtree_right()
2164 for(i = subtree_index + 1; i < path_num_items(right_path); i++) { in ocfs2_rotate_subtree_right()
2213 subtree_index); in ocfs2_rotate_subtree_right()
2627 int subtree_index, in ocfs2_unlink_subtree() argument
2631 struct buffer_head *root_bh = left_path->p_node[subtree_index].bh; in ocfs2_unlink_subtree()
2632 struct ocfs2_extent_list *root_el = left_path->p_node[subtree_index].el; in ocfs2_unlink_subtree()
2635 eb = (struct ocfs2_extent_block *)right_path->p_node[subtree_index + 1].bh->b_data; in ocfs2_unlink_subtree()
2653 subtree_index + 1); in ocfs2_unlink_subtree()
2660 int subtree_index, in ocfs2_rotate_subtree_left() argument
2673 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_rotate_subtree_left()
2674 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_rotate_subtree_left()
2734 subtree_index); in ocfs2_rotate_subtree_left()
2740 for(i = subtree_index + 1; i < path_num_items(right_path); i++) { in ocfs2_rotate_subtree_left()
2782 subtree_index, dealloc); in ocfs2_rotate_subtree_left()
2805 subtree_index); in ocfs2_rotate_subtree_left()
3036 int ret, subtree_index; in ocfs2_remove_rightmost_path() local
3083 subtree_index = ocfs2_find_subtree_root(et, left_path, path); in ocfs2_remove_rightmost_path()
3086 subtree_index, dealloc); in ocfs2_remove_rightmost_path()
3369 int subtree_index = 0; in ocfs2_merge_rec_right() local
3399 subtree_index = ocfs2_find_subtree_root(et, left_path, in ocfs2_merge_rec_right()
3402 ret = ocfs2_extend_rotate_transaction(handle, subtree_index, in ocfs2_merge_rec_right()
3410 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_merge_rec_right()
3411 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_merge_rec_right()
3414 subtree_index); in ocfs2_merge_rec_right()
3420 for (i = subtree_index + 1; in ocfs2_merge_rec_right()
3463 subtree_index); in ocfs2_merge_rec_right()
3530 int ret, i, subtree_index = 0, has_empty_extent = 0; in ocfs2_merge_rec_left() local
3561 subtree_index = ocfs2_find_subtree_root(et, left_path, in ocfs2_merge_rec_left()
3564 ret = ocfs2_extend_rotate_transaction(handle, subtree_index, in ocfs2_merge_rec_left()
3572 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_merge_rec_left()
3573 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_merge_rec_left()
3576 subtree_index); in ocfs2_merge_rec_left()
3582 for (i = subtree_index + 1; in ocfs2_merge_rec_left()
3662 right_path, subtree_index); in ocfs2_merge_rec_left()
4179 int ret, subtree_index; in ocfs2_insert_path() local
4242 subtree_index = ocfs2_find_subtree_root(et, left_path, in ocfs2_insert_path()
4245 subtree_index); in ocfs2_insert_path()
5507 int subtree_index; in ocfs2_truncate_rec() local
5509 subtree_index = ocfs2_find_subtree_root(et, left_path, path); in ocfs2_truncate_rec()
5511 subtree_index); in ocfs2_truncate_rec()