Lines Matching refs:nodes

933 	ii = btrfs_item_ptr(path->nodes[0], path->slots[0],  in get_inode_info()
935 info->size = btrfs_inode_size(path->nodes[0], ii); in get_inode_info()
936 info->gen = btrfs_inode_generation(path->nodes[0], ii); in get_inode_info()
937 info->mode = btrfs_inode_mode(path->nodes[0], ii); in get_inode_info()
938 info->uid = btrfs_inode_uid(path->nodes[0], ii); in get_inode_info()
939 info->gid = btrfs_inode_gid(path->nodes[0], ii); in get_inode_info()
940 info->rdev = btrfs_inode_rdev(path->nodes[0], ii); in get_inode_info()
941 info->nlink = btrfs_inode_nlink(path->nodes[0], ii); in get_inode_info()
946 info->fileattr = btrfs_inode_flags(path->nodes[0], ii); in get_inode_info()
979 struct extent_buffer *eb = path->nodes[0]; in iterate_inode_ref()
1126 eb = path->nodes[0]; in iterate_dir_item()
1246 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1568 struct extent_buffer *eb = path->nodes[0]; in find_extent_clone()
1753 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1755 type = btrfs_file_extent_type(path->nodes[0], ei); in read_symlink()
1763 compression = btrfs_file_extent_compression(path->nodes[0], ei); in read_symlink()
1773 len = btrfs_file_extent_ram_bytes(path->nodes[0], ei); in read_symlink()
1775 ret = fs_path_add_from_extent_buffer(dest, path->nodes[0], off, len); in read_symlink()
1975 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &key); in lookup_dir_item_inode()
2013 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
2024 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2026 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref()
2027 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
2033 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2035 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
2036 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
2038 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
2519 leaf = path->nodes[0]; in send_subvol_begin()
2742 eb = path->nodes[0]; in send_utimes()
2951 struct extent_buffer *eb = path->nodes[0]; in did_create_dir()
3237 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in can_rmdir()
3244 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir()
3246 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir()
3267 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir()
3269 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir()
3795 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &di_key); in wait_for_dest_dir_move()
3901 struct extent_buffer *leaf = path->nodes[0]; in is_ancestor()
5499 struct extent_buffer *leaf = path->nodes[0]; in send_encoded_inline_extent()
5551 struct extent_buffer *leaf = path->nodes[0]; in send_encoded_extent()
5649 struct extent_buffer *leaf = path->nodes[0]; in send_extent_data()
5791 leaf = path->nodes[0]; in send_capabilities()
5883 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in clone_range()
5890 struct extent_buffer *leaf = path->nodes[0]; in clone_range()
6149 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in send_write_or_clone()
6151 disk_byte = btrfs_file_extent_disk_bytenr(path->nodes[0], ei); in send_write_or_clone()
6152 data_offset = btrfs_file_extent_offset(path->nodes[0], ei); in send_write_or_clone()
6186 eb = left_path->nodes[0]; in is_extent_unchanged()
6235 eb = path->nodes[0]; in is_extent_unchanged()
6318 eb = path->nodes[0]; in is_extent_unchanged()
6369 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in get_last_extent()
6403 struct extent_buffer *leaf = path->nodes[0]; in range_is_hole_in_parent()
6507 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in process_extent()
6509 type = btrfs_file_extent_type(path->nodes[0], ei); in process_extent()
6524 if (btrfs_file_extent_disk_bytenr(path->nodes[0], ei) == 0) { in process_extent()
6843 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
6846 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
6849 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
6852 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
6856 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
6860 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
6908 if (btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii) == 0) { in changed_inode()
6916 sctx->left_path->nodes[0], left_ii); in changed_inode()
6918 sctx->left_path->nodes[0], left_ii); in changed_inode()
6920 sctx->left_path->nodes[0], left_ii); in changed_inode()
6928 sctx->right_path->nodes[0], right_ii); in changed_inode()
6930 sctx->right_path->nodes[0], right_ii); in changed_inode()
6934 new_nlinks = btrfs_inode_nlink(sctx->left_path->nodes[0], left_ii); in changed_inode()
6935 old_nlinks = btrfs_inode_nlink(sctx->right_path->nodes[0], right_ii); in changed_inode()
6958 sctx->right_path->nodes[0], right_ii); in changed_inode()
6960 sctx->right_path->nodes[0], right_ii); in changed_inode()
6975 sctx->left_path->nodes[0], in changed_inode()
6978 sctx->left_path->nodes[0], in changed_inode()
6981 sctx->left_path->nodes[0], in changed_inode()
7014 sctx->left_path->nodes[0], left_ii); in changed_inode()
7016 sctx->left_path->nodes[0], left_ii); in changed_inode()
7164 leaf = path->nodes[0]; in compare_refs()
7228 if (left_path->nodes[0]) in changed_cb()
7230 &left_path->nodes[0]->bflags)); in changed_cb()
7236 if (right_path && right_path->nodes[0]) in changed_cb()
7238 &right_path->nodes[0]->bflags)); in changed_cb()
7308 btrfs_print_tree(path->nodes[path->lowest_level], false); in search_key_again()
7349 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in full_send_tree()
7399 clone = btrfs_clone_extent_buffer(path->nodes[level]); in replace_node_with_clone()
7403 free_extent_buffer(path->nodes[level]); in replace_node_with_clone()
7404 path->nodes[level] = clone; in replace_node_with_clone()
7412 struct extent_buffer *parent = path->nodes[*level]; in tree_move_down()
7440 path->nodes[*level - 1] = eb; in tree_move_down()
7455 nritems = btrfs_header_nritems(path->nodes[*level]); in tree_move_next_or_upnext()
7467 free_extent_buffer(path->nodes[*level]); in tree_move_next_or_upnext()
7468 path->nodes[*level] = NULL; in tree_move_next_or_upnext()
7472 nritems = btrfs_header_nritems(path->nodes[*level]); in tree_move_next_or_upnext()
7503 btrfs_item_key_to_cpu(path->nodes[*level], key, in tree_advance()
7506 btrfs_node_key_to_cpu(path->nodes[*level], key, in tree_advance()
7520 len1 = btrfs_item_size(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7521 len2 = btrfs_item_size(right_path->nodes[0], right_path->slots[0]); in tree_compare_item()
7525 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7526 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
7529 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
7531 cmp = memcmp_extent_buffer(right_path->nodes[0], tmp_buf, off2, len1); in tree_compare_item()
7734 left_path->nodes[left_level] = in btrfs_compare_trees()
7736 if (!left_path->nodes[left_level]) { in btrfs_compare_trees()
7743 right_path->nodes[right_level] = in btrfs_compare_trees()
7745 if (!right_path->nodes[right_level]) { in btrfs_compare_trees()
7759 btrfs_item_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7762 btrfs_node_key_to_cpu(left_path->nodes[left_level], in btrfs_compare_trees()
7765 btrfs_item_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
7768 btrfs_node_key_to_cpu(right_path->nodes[right_level], in btrfs_compare_trees()
7863 WARN_ON(!extent_buffer_uptodate(left_path->nodes[0])); in btrfs_compare_trees()
7887 left_path->nodes[left_level], in btrfs_compare_trees()
7890 right_path->nodes[right_level], in btrfs_compare_trees()
7893 left_path->nodes[left_level], in btrfs_compare_trees()
7896 right_path->nodes[right_level], in btrfs_compare_trees()