Lines Matching refs:left_path

85 	struct btrfs_path *left_path;  member
272 typedef int (*btrfs_changed_cb_t)(struct btrfs_path *left_path,
4239 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_new_ref()
4357 ret = find_iref(sctx->send_root, sctx->left_path, sctx->cmp_key, in __record_changed_deleted_ref()
4371 ret = iterate_inode_ref(sctx->send_root, sctx->left_path, in record_changed_ref()
4575 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_new_xattr()
4683 ret = find_xattr(sctx->send_root, sctx->left_path, sctx->cmp_key, in __process_changed_deleted_xattr()
4698 ret = iterate_dir_item(sctx->send_root, sctx->left_path, in process_changed_xattr()
5364 struct btrfs_path *left_path, in is_extent_unchanged() argument
5390 eb = left_path->nodes[0]; in is_extent_unchanged()
5391 slot = left_path->slots[0]; in is_extent_unchanged()
6118 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6119 sctx->left_path->slots[0], in changed_inode()
6121 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6166 nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6180 sctx->left_path->nodes[0], left_ii); in changed_inode()
6182 sctx->left_path->nodes[0], left_ii); in changed_inode()
6184 sctx->left_path->nodes[0], left_ii); in changed_inode()
6226 sctx->left_path->nodes[0], left_ii); in changed_inode()
6228 sctx->left_path->nodes[0], left_ii); in changed_inode()
6230 sctx->left_path->nodes[0], left_ii); in changed_inode()
6260 sctx->left_path->nodes[0], left_ii); in changed_inode()
6262 sctx->left_path->nodes[0], left_ii); in changed_inode()
6358 ret = process_extent(sctx, sctx->left_path, in changed_extent()
6427 static int changed_cb(struct btrfs_path *left_path, in changed_cb() argument
6439 ret = compare_refs(sctx, left_path, key); in changed_cb()
6445 return maybe_send_hole(sctx, left_path, key); in changed_cb()
6453 sctx->left_path = left_path; in changed_cb()
6600 static int tree_compare_item(struct btrfs_path *left_path, in tree_compare_item() argument
6608 len1 = btrfs_item_size_nr(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6613 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6617 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
6645 struct btrfs_path *left_path = NULL; in btrfs_compare_trees() local
6663 left_path = btrfs_alloc_path(); in btrfs_compare_trees()
6664 if (!left_path) { in btrfs_compare_trees()
6680 left_path->search_commit_root = 1; in btrfs_compare_trees()
6681 left_path->skip_locking = 1; in btrfs_compare_trees()
6724 left_path->nodes[left_level] = in btrfs_compare_trees()
6726 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
6744 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6745 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6747 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
6748 &left_key, left_path->slots[left_level]); in btrfs_compare_trees()
6762 ret = tree_advance(left_path, &left_level, in btrfs_compare_trees()
6789 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6800 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6814 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6822 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6832 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
6833 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
6839 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
6854 left_path->nodes[left_level], in btrfs_compare_trees()
6855 left_path->slots[left_level]); in btrfs_compare_trees()
6860 left_path->nodes[left_level], in btrfs_compare_trees()
6861 left_path->slots[left_level]); in btrfs_compare_trees()
6886 btrfs_free_path(left_path); in btrfs_compare_trees()