Lines Matching defs:right_path
159 struct btrfs_path *right_path;
4771 ret = iterate_inode_ref(sctx->parent_root, sctx->right_path,
4790 ret = iterate_inode_ref(sctx->parent_root, sctx->right_path,
4985 return iterate_dir_item(sctx->parent_root, sctx->right_path,
5055 ret = find_xattr(sctx->parent_root, sctx->right_path,
5102 ret = iterate_dir_item(sctx->parent_root, sctx->right_path,
6859 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0],
6860 sctx->right_path->slots[0],
6862 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0],
6866 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0],
6867 sctx->right_path->slots[0],
6870 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0],
6938 sctx->right_path->nodes[0], right_ii);
6940 sctx->right_path->nodes[0], right_ii);
6945 old_nlinks = btrfs_inode_nlink(sctx->right_path->nodes[0], right_ii);
6968 sctx->right_path->nodes[0], right_ii);
6970 sctx->right_path->nodes[0], right_ii);
7201 struct btrfs_path *right_path,
7244 * When doing a full send we don't have a parent root, so right_path is
7246 * the parent root already, so we don't have a leaf at right_path.
7248 if (right_path && right_path->nodes[0])
7250 &right_path->nodes[0]->bflags));
7270 sctx->right_path = right_path;
7526 struct btrfs_path *right_path,
7534 len2 = btrfs_item_size(right_path->nodes[0], right_path->slots[0]);
7539 off2 = btrfs_item_ptr_offset(right_path->nodes[0],
7540 right_path->slots[0]);
7544 cmp = memcmp_extent_buffer(right_path->nodes[0], tmp_buf, off2, len1);
7570 struct btrfs_path *right_path,
7583 btrfs_release_path(right_path);
7596 right_path->lowest_level = right_level;
7597 ret = search_key_again(sctx, sctx->parent_root, right_path, right_key);
7614 ret = replace_node_with_clone(right_path, 0);
7633 ret = replace_node_with_clone(right_path, root_level);
7661 struct btrfs_path *right_path = NULL;
7684 right_path = btrfs_alloc_path();
7685 if (!right_path) {
7698 right_path->search_commit_root = 1;
7699 right_path->skip_locking = 1;
7756 right_path->nodes[right_level] =
7758 if (!right_path->nodes[right_level]) {
7778 btrfs_item_key_to_cpu(right_path->nodes[right_level],
7779 &right_key, right_path->slots[right_level]);
7781 btrfs_node_key_to_cpu(right_path->nodes[right_level],
7782 &right_key, right_path->slots[right_level]);
7795 ret = restart_after_relocation(left_path, right_path,
7816 ret = tree_advance(right_path, &right_level,
7833 ret = changed_cb(left_path, right_path,
7846 ret = changed_cb(left_path, right_path,
7862 ret = changed_cb(left_path, right_path,
7868 ret = changed_cb(left_path, right_path,
7877 ret = tree_compare_item(left_path, right_path,
7883 ret = changed_cb(left_path, right_path,
7903 right_path->nodes[right_level],
7904 right_path->slots[right_level]);
7909 right_path->nodes[right_level],
7910 right_path->slots[right_level]);
7935 btrfs_free_path(right_path);