Lines Matching refs:left_path

158 	struct btrfs_path *left_path;  member
4757 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_new_ref()
4786 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_changed_ref()
4977 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_new_xattr()
5083 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key, in __process_changed_deleted_xattr()
5098 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_changed_xattr()
6168 struct btrfs_path *left_path, in is_extent_unchanged() argument
6194 eb = left_path->nodes[0]; in is_extent_unchanged()
6195 slot = left_path->slots[0]; in is_extent_unchanged()
6853 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6854 sctx->left_path->slots[0], in changed_inode()
6856 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6918 if (btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii) == 0) { in changed_inode()
6926 sctx->left_path->nodes[0], left_ii); in changed_inode()
6928 sctx->left_path->nodes[0], left_ii); in changed_inode()
6930 sctx->left_path->nodes[0], left_ii); in changed_inode()
6944 new_nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6985 sctx->left_path->nodes[0], in changed_inode()
6988 sctx->left_path->nodes[0], in changed_inode()
6991 sctx->left_path->nodes[0], in changed_inode()
7024 sctx->left_path->nodes[0], left_ii); in changed_inode()
7026 sctx->left_path->nodes[0], left_ii); in changed_inode()
7122 ret = process_extent(sctx, sctx->left_path, in changed_extent()
7200 static int changed_cb(struct btrfs_path *left_path, in changed_cb() argument
7240 if (left_path->nodes[0]) in changed_cb()
7242 &left_path->nodes[0]->bflags)); in changed_cb()
7255 ret = compare_refs(sctx, left_path, key); in changed_cb()
7261 return maybe_send_hole(sctx, left_path, key); in changed_cb()
7269 sctx->left_path = left_path; in changed_cb()
7525 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
7533 len1 = btrfs_item_size(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7538 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7542 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
7569 static int restart_after_relocation(struct btrfs_path *left_path, in restart_after_relocation() argument
7582 btrfs_release_path(left_path); in restart_after_relocation()
7591 left_path->lowest_level = left_level; in restart_after_relocation()
7592 ret = search_key_again(sctx, sctx->send_root, left_path, left_key); in restart_after_relocation()
7608 ret = replace_node_with_clone(left_path, 0); in restart_after_relocation()
7626 ret = replace_node_with_clone(left_path, root_level); in restart_after_relocation()
7660 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
7679 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
7680 if (!left_path) { in btrfs_compare_trees()
7696 left_path->search_commit_root = 1; in btrfs_compare_trees()
7697 left_path->skip_locking = 1; in btrfs_compare_trees()
7747 left_path->nodes[left_level] = in btrfs_compare_trees()
7749 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
7772 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7773 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
7775 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7776 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
7795 ret = restart_after_relocation(left_path, right_path, in btrfs_compare_trees()
7805 ret = tree_advance(left_path, &left_level, in btrfs_compare_trees()
7833 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7846 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7862 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7868 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7876 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
7877 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
7883 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7900 left_path->nodes[left_level], in btrfs_compare_trees()
7901 left_path->slots[left_level]); in btrfs_compare_trees()
7906 left_path->nodes[left_level], in btrfs_compare_trees()
7907 left_path->slots[left_level]); in btrfs_compare_trees()
7934 btrfs_free_path(left_path); in btrfs_compare_trees()