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()
6844 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6845 sctx->left_path->slots[0], in changed_inode()
6847 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6909 if (btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii) == 0) { in changed_inode()
6917 sctx->left_path->nodes[0], left_ii); in changed_inode()
6919 sctx->left_path->nodes[0], left_ii); in changed_inode()
6921 sctx->left_path->nodes[0], left_ii); in changed_inode()
6935 new_nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6976 sctx->left_path->nodes[0], in changed_inode()
6979 sctx->left_path->nodes[0], in changed_inode()
6982 sctx->left_path->nodes[0], in changed_inode()
7015 sctx->left_path->nodes[0], left_ii); in changed_inode()
7017 sctx->left_path->nodes[0], left_ii); in changed_inode()
7113 ret = process_extent(sctx, sctx->left_path, in changed_extent()
7191 static int changed_cb(struct btrfs_path *left_path, in changed_cb() argument
7231 if (left_path->nodes[0]) in changed_cb()
7233 &left_path->nodes[0]->bflags)); in changed_cb()
7246 ret = compare_refs(sctx, left_path, key); in changed_cb()
7252 return maybe_send_hole(sctx, left_path, key); in changed_cb()
7260 sctx->left_path = left_path; in changed_cb()
7516 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
7524 len1 = btrfs_item_size(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7529 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7533 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
7560 static int restart_after_relocation(struct btrfs_path *left_path, in restart_after_relocation() argument
7573 btrfs_release_path(left_path); in restart_after_relocation()
7582 left_path->lowest_level = left_level; in restart_after_relocation()
7583 ret = search_key_again(sctx, sctx->send_root, left_path, left_key); in restart_after_relocation()
7599 ret = replace_node_with_clone(left_path, 0); in restart_after_relocation()
7617 ret = replace_node_with_clone(left_path, root_level); in restart_after_relocation()
7651 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
7670 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
7671 if (!left_path) { in btrfs_compare_trees()
7687 left_path->search_commit_root = 1; in btrfs_compare_trees()
7688 left_path->skip_locking = 1; in btrfs_compare_trees()
7738 left_path->nodes[left_level] = in btrfs_compare_trees()
7740 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
7763 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7764 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
7766 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7767 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
7786 ret = restart_after_relocation(left_path, right_path, in btrfs_compare_trees()
7796 ret = tree_advance(left_path, &left_level, in btrfs_compare_trees()
7824 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7837 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7853 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7859 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7867 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
7868 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
7874 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7891 left_path->nodes[left_level], in btrfs_compare_trees()
7892 left_path->slots[left_level]); in btrfs_compare_trees()
7897 left_path->nodes[left_level], in btrfs_compare_trees()
7898 left_path->slots[left_level]); in btrfs_compare_trees()
7925 btrfs_free_path(left_path); in btrfs_compare_trees()