Lines Matching refs:left_path

94 	struct btrfs_path *left_path;  member
4381 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_new_ref()
4499 ret = find_iref(sctx->send_root, sctx->left_path, sctx->cmp_key, in __record_changed_deleted_ref()
4513 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_changed_ref()
4721 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_new_xattr()
4829 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key, in __process_changed_deleted_xattr()
4844 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_changed_xattr()
5558 struct btrfs_path *left_path, in is_extent_unchanged() argument
5584 eb = left_path->nodes[0]; in is_extent_unchanged()
5585 slot = left_path->slots[0]; in is_extent_unchanged()
6278 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6279 sctx->left_path->slots[0], in changed_inode()
6281 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6326 nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6340 sctx->left_path->nodes[0], left_ii); in changed_inode()
6342 sctx->left_path->nodes[0], left_ii); in changed_inode()
6344 sctx->left_path->nodes[0], left_ii); in changed_inode()
6386 sctx->left_path->nodes[0], left_ii); in changed_inode()
6388 sctx->left_path->nodes[0], left_ii); in changed_inode()
6390 sctx->left_path->nodes[0], left_ii); in changed_inode()
6420 sctx->left_path->nodes[0], left_ii); in changed_inode()
6422 sctx->left_path->nodes[0], left_ii); in changed_inode()
6518 ret = process_extent(sctx, sctx->left_path, in changed_extent()
6587 static int changed_cb(struct btrfs_path *left_path, in changed_cb() argument
6598 ret = compare_refs(sctx, left_path, key); in changed_cb()
6604 return maybe_send_hole(sctx, left_path, key); in changed_cb()
6612 sctx->left_path = left_path; in changed_cb()
6781 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
6789 len1 = btrfs_item_size_nr(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6794 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6798 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
6825 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
6844 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
6845 if (!left_path) { in btrfs_compare_trees()
6861 left_path->search_commit_root = 1; in btrfs_compare_trees()
6862 left_path->skip_locking = 1; in btrfs_compare_trees()
6905 left_path->nodes[left_level] = in btrfs_compare_trees()
6907 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
6933 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6934 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6936 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6937 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6951 ret = tree_advance(left_path, &left_level, in btrfs_compare_trees()
6978 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6989 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7003 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7011 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7021 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
7022 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
7028 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
7043 left_path->nodes[left_level], in btrfs_compare_trees()
7044 left_path->slots[left_level]); in btrfs_compare_trees()
7049 left_path->nodes[left_level], in btrfs_compare_trees()
7050 left_path->slots[left_level]); in btrfs_compare_trees()
7075 btrfs_free_path(left_path); in btrfs_compare_trees()