Lines Matching refs:nodes
803 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info()
806 *size = btrfs_inode_size(path->nodes[0], ii); in __get_inode_info()
808 *gen = btrfs_inode_generation(path->nodes[0], ii); in __get_inode_info()
810 *mode = btrfs_inode_mode(path->nodes[0], ii); in __get_inode_info()
812 *uid = btrfs_inode_uid(path->nodes[0], ii); in __get_inode_info()
814 *gid = btrfs_inode_gid(path->nodes[0], ii); in __get_inode_info()
816 *rdev = btrfs_inode_rdev(path->nodes[0], ii); in __get_inode_info()
854 struct extent_buffer *eb = path->nodes[0]; in iterate_inode_ref()
1003 eb = path->nodes[0]; in iterate_dir_item()
1125 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1287 struct extent_buffer *eb = path->nodes[0]; in find_extent_clone()
1481 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1483 type = btrfs_file_extent_type(path->nodes[0], ei); in read_symlink()
1484 compression = btrfs_file_extent_compression(path->nodes[0], ei); in read_symlink()
1489 len = btrfs_file_extent_inline_len(path->nodes[0], path->slots[0], ei); in read_symlink()
1491 ret = fs_path_add_from_extent_buffer(dest, path->nodes[0], off, len); in read_symlink()
1686 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &key); in lookup_dir_item_inode()
1692 *found_type = btrfs_dir_type(path->nodes[0], di); in lookup_dir_item_inode()
1725 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1736 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1738 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref()
1739 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
1745 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1747 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1748 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
1750 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
2317 leaf = path->nodes[0]; in send_subvol_begin()
2477 eb = path->nodes[0]; in send_utimes()
2617 eb = path->nodes[0]; in did_create_dir()
2885 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) { in can_rmdir()
2893 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in can_rmdir()
2899 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir()
2901 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir()
3330 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &di_key); in wait_for_dest_dir_move()
4022 eb = path->nodes[0]; in process_all_refs()
4330 eb = path->nodes[0]; in process_all_new_xattrs()
4621 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in send_write_or_clone()
4623 type = btrfs_file_extent_type(path->nodes[0], ei); in send_write_or_clone()
4625 len = btrfs_file_extent_inline_len(path->nodes[0], in send_write_or_clone()
4634 len = btrfs_file_extent_num_bytes(path->nodes[0], ei); in send_write_or_clone()
4693 eb = left_path->nodes[0]; in is_extent_unchanged()
4742 eb = path->nodes[0]; in is_extent_unchanged()
4805 eb = path->nodes[0]; in is_extent_unchanged()
4859 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in get_last_extent()
4863 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_last_extent()
4865 type = btrfs_file_extent_type(path->nodes[0], fi); in get_last_extent()
4867 u64 size = btrfs_file_extent_inline_len(path->nodes[0], in get_last_extent()
4873 btrfs_file_extent_num_bytes(path->nodes[0], fi); in get_last_extent()
4898 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in maybe_send_hole()
4900 type = btrfs_file_extent_type(path->nodes[0], fi); in maybe_send_hole()
4902 u64 size = btrfs_file_extent_inline_len(path->nodes[0], in maybe_send_hole()
4908 btrfs_file_extent_num_bytes(path->nodes[0], fi); in maybe_send_hole()
4953 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in process_extent()
4955 type = btrfs_file_extent_type(path->nodes[0], ei); in process_extent()
4970 if (btrfs_file_extent_disk_bytenr(path->nodes[0], ei) == 0) { in process_extent()
5014 eb = path->nodes[0]; in process_all_extents()
5215 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
5218 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
5221 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
5224 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
5228 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
5232 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
5250 sctx->left_path->nodes[0], left_ii); in changed_inode()
5252 sctx->left_path->nodes[0], left_ii); in changed_inode()
5254 sctx->left_path->nodes[0], left_ii); in changed_inode()
5262 sctx->right_path->nodes[0], right_ii); in changed_inode()
5264 sctx->right_path->nodes[0], right_ii); in changed_inode()
5281 sctx->right_path->nodes[0], right_ii); in changed_inode()
5283 sctx->right_path->nodes[0], right_ii); in changed_inode()
5296 sctx->left_path->nodes[0], left_ii); in changed_inode()
5298 sctx->left_path->nodes[0], left_ii); in changed_inode()
5300 sctx->left_path->nodes[0], left_ii); in changed_inode()
5330 sctx->left_path->nodes[0], left_ii); in changed_inode()
5332 sctx->left_path->nodes[0], left_ii); in changed_inode()
5453 leaf = path->nodes[0]; in compare_refs()
5557 eb = path->nodes[0]; in full_send_tree()