Lines Matching refs:dest
617 static void ocfs2_cp_path(struct ocfs2_path *dest, struct ocfs2_path *src) in ocfs2_cp_path() argument
621 BUG_ON(path_root_bh(dest) != path_root_bh(src)); in ocfs2_cp_path()
622 BUG_ON(path_root_el(dest) != path_root_el(src)); in ocfs2_cp_path()
623 BUG_ON(path_root_access(dest) != path_root_access(src)); in ocfs2_cp_path()
625 ocfs2_reinit_path(dest, 1); in ocfs2_cp_path()
628 dest->p_node[i].bh = src->p_node[i].bh; in ocfs2_cp_path()
629 dest->p_node[i].el = src->p_node[i].el; in ocfs2_cp_path()
631 if (dest->p_node[i].bh) in ocfs2_cp_path()
632 get_bh(dest->p_node[i].bh); in ocfs2_cp_path()
640 static void ocfs2_mv_path(struct ocfs2_path *dest, struct ocfs2_path *src) in ocfs2_mv_path() argument
644 BUG_ON(path_root_bh(dest) != path_root_bh(src)); in ocfs2_mv_path()
645 BUG_ON(path_root_access(dest) != path_root_access(src)); in ocfs2_mv_path()
648 brelse(dest->p_node[i].bh); in ocfs2_mv_path()
650 dest->p_node[i].bh = src->p_node[i].bh; in ocfs2_mv_path()
651 dest->p_node[i].el = src->p_node[i].el; in ocfs2_mv_path()