Lines Matching refs:right_path
159 struct btrfs_path *right_path; member
4771 ret = iterate_inode_ref(sctx->parent_root, sctx->right_path, in record_deleted_ref()
4790 ret = iterate_inode_ref(sctx->parent_root, sctx->right_path, in record_changed_ref()
4985 return iterate_dir_item(sctx->parent_root, sctx->right_path, in process_deleted_xattr()
5055 ret = find_xattr(sctx->parent_root, sctx->right_path, in __process_changed_new_xattr()
5102 ret = iterate_dir_item(sctx->parent_root, sctx->right_path, in process_changed_xattr()
6850 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
6851 sctx->right_path->slots[0], in changed_inode()
6853 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
6857 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
6858 sctx->right_path->slots[0], in changed_inode()
6861 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
6929 sctx->right_path->nodes[0], right_ii); in changed_inode()
6931 sctx->right_path->nodes[0], right_ii); in changed_inode()
6936 old_nlinks = btrfs_inode_nlink(sctx->right_path->nodes[0], right_ii); in changed_inode()
6959 sctx->right_path->nodes[0], right_ii); in changed_inode()
6961 sctx->right_path->nodes[0], right_ii); in changed_inode()
7192 struct btrfs_path *right_path, in changed_cb() argument
7239 if (right_path && right_path->nodes[0]) in changed_cb()
7241 &right_path->nodes[0]->bflags)); in changed_cb()
7261 sctx->right_path = right_path; in changed_cb()
7517 struct btrfs_path *right_path, in tree_compare_item() argument
7525 len2 = btrfs_item_size(right_path->nodes[0], right_path->slots[0]); in tree_compare_item()
7530 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
7531 right_path->slots[0]); in tree_compare_item()
7535 cmp = memcmp_extent_buffer(right_path->nodes[0], tmp_buf, off2, len1); in tree_compare_item()
7561 struct btrfs_path *right_path, in restart_after_relocation() argument
7574 btrfs_release_path(right_path); in restart_after_relocation()
7587 right_path->lowest_level = right_level; in restart_after_relocation()
7588 ret = search_key_again(sctx, sctx->parent_root, right_path, right_key); in restart_after_relocation()
7605 ret = replace_node_with_clone(right_path, 0); in restart_after_relocation()
7624 ret = replace_node_with_clone(right_path, root_level); in restart_after_relocation()
7652 struct btrfs_path *right_path = NULL; in btrfs_compare_trees() local
7675 right_path = btrfs_alloc_path(); in btrfs_compare_trees()
7676 if (!right_path) { in btrfs_compare_trees()
7689 right_path->search_commit_root = 1; in btrfs_compare_trees()
7690 right_path->skip_locking = 1; in btrfs_compare_trees()
7747 right_path->nodes[right_level] = in btrfs_compare_trees()
7749 if (!right_path->nodes[right_level]) { in btrfs_compare_trees()
7769 btrfs_item_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
7770 &right_key, right_path->slots[right_level]); in btrfs_compare_trees()
7772 btrfs_node_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
7773 &right_key, right_path->slots[right_level]); in btrfs_compare_trees()
7786 ret = restart_after_relocation(left_path, right_path, in btrfs_compare_trees()
7807 ret = tree_advance(right_path, &right_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()
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()
7894 right_path->nodes[right_level], in btrfs_compare_trees()
7895 right_path->slots[right_level]); in btrfs_compare_trees()
7900 right_path->nodes[right_level], in btrfs_compare_trees()
7901 right_path->slots[right_level]); in btrfs_compare_trees()
7926 btrfs_free_path(right_path); in btrfs_compare_trees()