Lines Matching refs:p_node
589 node = &path->p_node[i]; in ocfs2_reinit_path()
635 dest->p_node[i].bh = src->p_node[i].bh; in ocfs2_cp_path()
636 dest->p_node[i].el = src->p_node[i].el; in ocfs2_cp_path()
638 if (dest->p_node[i].bh) in ocfs2_cp_path()
639 get_bh(dest->p_node[i].bh); in ocfs2_cp_path()
655 brelse(dest->p_node[i].bh); in ocfs2_mv_path()
657 dest->p_node[i].bh = src->p_node[i].bh; in ocfs2_mv_path()
658 dest->p_node[i].el = src->p_node[i].el; in ocfs2_mv_path()
660 src->p_node[i].bh = NULL; in ocfs2_mv_path()
661 src->p_node[i].el = NULL; in ocfs2_mv_path()
683 path->p_node[index].bh = eb_bh; in ocfs2_path_insert_eb()
684 path->p_node[index].el = &eb->h_list; in ocfs2_path_insert_eb()
739 return access(handle, ci, path->p_node[idx].bh, in ocfs2_path_bh_journal_access()
1756 } while (left->p_node[i].bh->b_blocknr == in ocfs2_find_subtree_root()
1757 right->p_node[i].bh->b_blocknr); in ocfs2_find_subtree_root()
2030 struct buffer_head *root_bh = left_path->p_node[subtree_index].bh; in ocfs2_complete_edge_insert()
2055 el = left_path->p_node[i].el; in ocfs2_complete_edge_insert()
2059 el = right_path->p_node[i].el; in ocfs2_complete_edge_insert()
2065 ocfs2_journal_dirty(handle, left_path->p_node[i].bh); in ocfs2_complete_edge_insert()
2066 ocfs2_journal_dirty(handle, right_path->p_node[i].bh); in ocfs2_complete_edge_insert()
2072 left_el = left_path->p_node[i].el; in ocfs2_complete_edge_insert()
2073 right_el = right_path->p_node[i].el; in ocfs2_complete_edge_insert()
2081 el = left_path->p_node[subtree_index].el; in ocfs2_complete_edge_insert()
2082 left_el = left_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2083 right_el = right_path->p_node[subtree_index + 1].el; in ocfs2_complete_edge_insert()
2086 left_path->p_node[subtree_index + 1].bh->b_blocknr); in ocfs2_complete_edge_insert()
2088 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_complete_edge_insert()
2125 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_rotate_subtree_right()
2126 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_rotate_subtree_right()
2212 el = path->p_node[i].el; in ocfs2_find_cpos_for_left_leaf()
2256 blkno = path->p_node[i].bh->b_blocknr; in ocfs2_find_cpos_for_left_leaf()
2453 right_path->p_node[start].bh->b_blocknr, in ocfs2_rotate_tree_right()
2551 el = path->p_node[i].el; in ocfs2_update_edge_lengths()
2558 ocfs2_journal_dirty(handle, path->p_node[i].bh); in ocfs2_update_edge_lengths()
2575 bh = path->p_node[i].bh; in ocfs2_unlink_path()
2617 struct buffer_head *root_bh = left_path->p_node[subtree_index].bh; in ocfs2_unlink_subtree()
2618 struct ocfs2_extent_list *root_el = left_path->p_node[subtree_index].el; in ocfs2_unlink_subtree()
2624 eb = (struct ocfs2_extent_block *)right_path->p_node[subtree_index + 1].bh->b_data; in ocfs2_unlink_subtree()
2662 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_rotate_subtree_left()
2663 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_rotate_subtree_left()
2829 el = path->p_node[i].el; in ocfs2_find_cpos_for_right_leaf()
2871 blkno = path->p_node[i].bh->b_blocknr; in ocfs2_find_cpos_for_right_leaf()
2956 right_path->p_node[subtree_root].bh->b_blocknr, in __ocfs2_rotate_tree_left()
3414 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_merge_rec_right()
3415 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_merge_rec_right()
3576 root_bh = left_path->p_node[subtree_index].bh; in ocfs2_merge_rec_left()
3577 BUG_ON(root_bh != right_path->p_node[subtree_index].bh); in ocfs2_merge_rec_left()
3940 bh = path->p_node[i].bh; in ocfs2_adjust_rightmost_records()
3941 el = path->p_node[i].el; in ocfs2_adjust_rightmost_records()