Lines Matching refs:nodes

804 	ii = btrfs_item_ptr(path->nodes[0], path->slots[0],  in __get_inode_info()
807 *size = btrfs_inode_size(path->nodes[0], ii); in __get_inode_info()
809 *gen = btrfs_inode_generation(path->nodes[0], ii); in __get_inode_info()
811 *mode = btrfs_inode_mode(path->nodes[0], ii); in __get_inode_info()
813 *uid = btrfs_inode_uid(path->nodes[0], ii); in __get_inode_info()
815 *gid = btrfs_inode_gid(path->nodes[0], ii); in __get_inode_info()
817 *rdev = btrfs_inode_rdev(path->nodes[0], ii); in __get_inode_info()
855 struct extent_buffer *eb = path->nodes[0]; in iterate_inode_ref()
1004 eb = path->nodes[0]; in iterate_dir_item()
1126 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path()
1291 struct extent_buffer *eb = path->nodes[0]; in find_extent_clone()
1488 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1490 type = btrfs_file_extent_type(path->nodes[0], ei); in read_symlink()
1491 compression = btrfs_file_extent_compression(path->nodes[0], ei); in read_symlink()
1496 len = btrfs_file_extent_inline_len(path->nodes[0], path->slots[0], ei); in read_symlink()
1498 ret = fs_path_add_from_extent_buffer(dest, path->nodes[0], off, len); in read_symlink()
1693 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &key); in lookup_dir_item_inode()
1699 *found_type = btrfs_dir_type(path->nodes[0], di); in lookup_dir_item_inode()
1732 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref()
1743 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1745 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref()
1746 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
1752 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1754 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1755 ret = fs_path_add_from_extent_buffer(name, path->nodes[0], in get_first_ref()
1757 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
2337 leaf = path->nodes[0]; in send_subvol_begin()
2507 eb = path->nodes[0]; in send_utimes()
2647 eb = path->nodes[0]; in did_create_dir()
2915 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) { in can_rmdir()
2923 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in can_rmdir()
2929 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir()
2931 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir()
3361 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &di_key); in wait_for_dest_dir_move()
4102 eb = path->nodes[0]; in process_all_refs()
4410 eb = path->nodes[0]; in process_all_new_xattrs()
4769 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in clone_range()
4776 struct extent_buffer *leaf = path->nodes[0]; in clone_range()
4877 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in send_write_or_clone()
4879 type = btrfs_file_extent_type(path->nodes[0], ei); in send_write_or_clone()
4881 len = btrfs_file_extent_inline_len(path->nodes[0], in send_write_or_clone()
4890 len = btrfs_file_extent_num_bytes(path->nodes[0], ei); in send_write_or_clone()
4904 disk_byte = btrfs_file_extent_disk_bytenr(path->nodes[0], ei); in send_write_or_clone()
4905 data_offset = btrfs_file_extent_offset(path->nodes[0], ei); in send_write_or_clone()
4942 eb = left_path->nodes[0]; in is_extent_unchanged()
4991 eb = path->nodes[0]; in is_extent_unchanged()
5054 eb = path->nodes[0]; in is_extent_unchanged()
5108 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in get_last_extent()
5112 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_last_extent()
5114 type = btrfs_file_extent_type(path->nodes[0], fi); in get_last_extent()
5116 u64 size = btrfs_file_extent_inline_len(path->nodes[0], in get_last_extent()
5122 btrfs_file_extent_num_bytes(path->nodes[0], fi); in get_last_extent()
5147 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in maybe_send_hole()
5149 type = btrfs_file_extent_type(path->nodes[0], fi); in maybe_send_hole()
5151 u64 size = btrfs_file_extent_inline_len(path->nodes[0], in maybe_send_hole()
5157 btrfs_file_extent_num_bytes(path->nodes[0], fi); in maybe_send_hole()
5202 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in process_extent()
5204 type = btrfs_file_extent_type(path->nodes[0], ei); in process_extent()
5219 if (btrfs_file_extent_disk_bytenr(path->nodes[0], ei) == 0) { in process_extent()
5263 eb = path->nodes[0]; in process_all_extents()
5464 left_ii = btrfs_item_ptr(sctx->left_path->nodes[0], in changed_inode()
5467 left_gen = btrfs_inode_generation(sctx->left_path->nodes[0], in changed_inode()
5470 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
5473 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
5477 right_ii = btrfs_item_ptr(sctx->right_path->nodes[0], in changed_inode()
5481 right_gen = btrfs_inode_generation(sctx->right_path->nodes[0], in changed_inode()
5499 sctx->left_path->nodes[0], left_ii); in changed_inode()
5501 sctx->left_path->nodes[0], left_ii); in changed_inode()
5503 sctx->left_path->nodes[0], left_ii); in changed_inode()
5511 sctx->right_path->nodes[0], right_ii); in changed_inode()
5513 sctx->right_path->nodes[0], right_ii); in changed_inode()
5530 sctx->right_path->nodes[0], right_ii); in changed_inode()
5532 sctx->right_path->nodes[0], right_ii); in changed_inode()
5545 sctx->left_path->nodes[0], left_ii); in changed_inode()
5547 sctx->left_path->nodes[0], left_ii); in changed_inode()
5549 sctx->left_path->nodes[0], left_ii); in changed_inode()
5579 sctx->left_path->nodes[0], left_ii); in changed_inode()
5581 sctx->left_path->nodes[0], left_ii); in changed_inode()
5702 leaf = path->nodes[0]; in compare_refs()
5806 eb = path->nodes[0]; in full_send_tree()