Lines Matching defs:left_path

162 	struct btrfs_path *left_path;
4718 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, sctx->cmp_key,
4742 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, sctx->cmp_key,
4903 return iterate_dir_item(sctx->send_root, sctx->left_path,
5010 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key,
5025 ret = iterate_dir_item(sctx->send_root, sctx->left_path,
6110 struct btrfs_path *left_path,
6136 eb = left_path->nodes[0];
6137 slot = left_path->slots[0];
6831 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0],
6832 sctx->left_path->slots[0],
6834 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0],
6896 if (btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii) == 0) {
6904 sctx->left_path->nodes[0], left_ii);
6906 sctx->left_path->nodes[0], left_ii);
6908 sctx->left_path->nodes[0], left_ii);
6922 new_nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii);
6963 sctx->left_path->nodes[0],
6966 sctx->left_path->nodes[0],
6969 sctx->left_path->nodes[0],
7002 sctx->left_path->nodes[0], left_ii);
7004 sctx->left_path->nodes[0], left_ii);
7099 ret = process_extent(sctx, sctx->left_path,
7174 static int changed_cb(struct btrfs_path *left_path,
7210 * We always have a send root, so left_path is never NULL. We will not
7214 if (left_path->nodes[0])
7216 &left_path->nodes[0]->bflags));
7229 ret = compare_refs(sctx, left_path, key);
7235 return maybe_send_hole(sctx, left_path, key);
7242 sctx->left_path = left_path;
7493 static int tree_compare_item(struct btrfs_path *left_path,
7501 len1 = btrfs_item_size(left_path->nodes[0], left_path->slots[0]);
7506 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]);
7510 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1);
7537 static int restart_after_relocation(struct btrfs_path *left_path,
7550 btrfs_release_path(left_path);
7559 left_path->lowest_level = left_level;
7560 ret = search_key_again(sctx, sctx->send_root, left_path, left_key);
7576 ret = replace_node_with_clone(left_path, 0);
7594 ret = replace_node_with_clone(left_path, root_level);
7628 BTRFS_PATH_AUTO_FREE(left_path);
7647 left_path = btrfs_alloc_path();
7648 if (!left_path) {
7664 left_path->search_commit_root = true;
7665 left_path->skip_locking = true;
7715 left_path->nodes[left_level] =
7717 if (!left_path->nodes[left_level]) {
7740 btrfs_item_key_to_cpu(left_path->nodes[left_level],
7741 &left_key, left_path->slots[left_level]);
7743 btrfs_node_key_to_cpu(left_path->nodes[left_level],
7744 &left_key, left_path->slots[left_level]);
7763 ret = restart_after_relocation(left_path, right_path,
7773 ret = tree_advance(left_path, &left_level,
7801 ret = changed_cb(left_path, right_path,
7814 ret = changed_cb(left_path, right_path,
7830 ret = changed_cb(left_path, right_path,
7836 ret = changed_cb(left_path, right_path,
7844 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0]));
7845 ret = tree_compare_item(left_path, right_path,
7851 ret = changed_cb(left_path, right_path,
7868 left_path->nodes[left_level],
7869 left_path->slots[left_level]);
7874 left_path->nodes[left_level],
7875 left_path->slots[left_level]);