Lines Matching refs:right_path
5285 struct btrfs_path *right_path, in tree_compare_item() argument
5293 len2 = btrfs_item_size_nr(right_path->nodes[0], right_path->slots[0]); in tree_compare_item()
5298 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
5299 right_path->slots[0]); in tree_compare_item()
5303 cmp = memcmp_extent_buffer(right_path->nodes[0], tmp_buf, off2, len1); in tree_compare_item()
5333 struct btrfs_path *right_path = NULL; in btrfs_compare_trees() local
5355 right_path = btrfs_alloc_path(); in btrfs_compare_trees()
5356 if (!right_path) { in btrfs_compare_trees()
5369 right_path->search_commit_root = 1; in btrfs_compare_trees()
5370 right_path->skip_locking = 1; in btrfs_compare_trees()
5422 right_path->nodes[right_level] = in btrfs_compare_trees()
5424 if (!right_path->nodes[right_level]) { in btrfs_compare_trees()
5429 extent_buffer_get(right_path->nodes[right_level]); in btrfs_compare_trees()
5439 btrfs_item_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
5440 &right_key, right_path->slots[right_level]); in btrfs_compare_trees()
5442 btrfs_node_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
5443 &right_key, right_path->slots[right_level]); in btrfs_compare_trees()
5461 ret = tree_advance(fs_info, right_path, &right_level, in btrfs_compare_trees()
5477 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
5488 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
5502 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
5510 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
5521 ret = tree_compare_item(left_path, right_path, in btrfs_compare_trees()
5527 ret = changed_cb(left_path, right_path, in btrfs_compare_trees()
5545 right_path->nodes[right_level], in btrfs_compare_trees()
5546 right_path->slots[right_level]); in btrfs_compare_trees()
5551 right_path->nodes[right_level], in btrfs_compare_trees()
5552 right_path->slots[right_level]); in btrfs_compare_trees()
5575 btrfs_free_path(right_path); in btrfs_compare_trees()