Lines Matching refs:left_path
94 struct btrfs_path *left_path; member
4408 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_new_ref()
4526 ret = find_iref(sctx->send_root, sctx->left_path, sctx->cmp_key, in __record_changed_deleted_ref()
4540 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_changed_ref()
4748 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_new_xattr()
4856 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key, in __process_changed_deleted_xattr()
4871 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_changed_xattr()
5614 struct btrfs_path *left_path, in is_extent_unchanged() argument
5640 eb = left_path->nodes[0]; in is_extent_unchanged()
5641 slot = left_path->slots[0]; in is_extent_unchanged()
6334 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6335 sctx->left_path->slots[0], in changed_inode()
6337 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6382 nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6396 sctx->left_path->nodes[0], left_ii); in changed_inode()
6398 sctx->left_path->nodes[0], left_ii); in changed_inode()
6400 sctx->left_path->nodes[0], left_ii); in changed_inode()
6442 sctx->left_path->nodes[0], left_ii); in changed_inode()
6444 sctx->left_path->nodes[0], left_ii); in changed_inode()
6446 sctx->left_path->nodes[0], left_ii); in changed_inode()
6476 sctx->left_path->nodes[0], left_ii); in changed_inode()
6478 sctx->left_path->nodes[0], left_ii); in changed_inode()
6574 ret = process_extent(sctx, sctx->left_path, in changed_extent()
6643 static int changed_cb(struct btrfs_path *left_path, in changed_cb() argument
6655 ret = compare_refs(sctx, left_path, key); in changed_cb()
6661 return maybe_send_hole(sctx, left_path, key); in changed_cb()
6669 sctx->left_path = left_path; in changed_cb()
6816 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
6824 len1 = btrfs_item_size_nr(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6829 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6833 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
6860 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
6878 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
6879 if (!left_path) { in btrfs_compare_trees()
6895 left_path->search_commit_root = 1; in btrfs_compare_trees()
6896 left_path->skip_locking = 1; in btrfs_compare_trees()
6939 left_path->nodes[left_level] = in btrfs_compare_trees()
6941 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
6959 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6960 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6962 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6963 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6977 ret = tree_advance(left_path, &left_level, in btrfs_compare_trees()
7004 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7015 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7029 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7037 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7047 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
7048 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
7054 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7069 left_path->nodes[left_level], in btrfs_compare_trees()
7070 left_path->slots[left_level]); in btrfs_compare_trees()
7075 left_path->nodes[left_level], in btrfs_compare_trees()
7076 left_path->slots[left_level]); in btrfs_compare_trees()
7101 btrfs_free_path(left_path); in btrfs_compare_trees()