| /linux/fs/btrfs/tests/ |
| H A D | extent-buffer-tests.c | 69 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item() 103 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item() 127 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item() 158 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item() 181 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item() 204 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 2), in test_btrfs_split_item()
|
| /linux/fs/btrfs/ |
| H A D | uuid-tree.c | 54 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup() 110 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 119 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 169 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove() 195 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove() 337 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate() 444 btrfs_item_ptr_offset(eb, slot), in btrfs_uuid_scan_kthread()
|
| H A D | root-tree.c | 33 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item() 159 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root() 190 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
|
| H A D | inode-item.c | 29 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref() 56 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref() 156 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref() 217 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
|
| H A D | tree-checker.c | 715 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 802 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err() 1243 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1442 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item() 1721 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref() 1799 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref() 1834 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_extref() 2145 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in __btrfs_check_leaf() 2151 btrfs_item_ptr_offset(leaf, slot)); in __btrfs_check_leaf()
|
| H A D | tree-log.c | 508 src_ptr = btrfs_item_ptr_offset(wc->log_leaf, wc->log_slot); in overwrite_item() 542 dst_ptr = btrfs_item_ptr_offset(dst_eb, dst_slot); in overwrite_item() 626 dst_ptr = btrfs_item_ptr_offset(dst_eb, dst_slot); in overwrite_item() 781 ptr = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in replay_one_extent() 837 dest_offset = btrfs_item_ptr_offset(wc->subvol_path->nodes[0], in replay_one_extent() 1223 ptr = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in unlink_refs_not_in_log() 1277 const unsigned long base = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in unlink_extrefs_not_in_log() 1500 ref_ptr = btrfs_item_ptr_offset(eb, wc->subvol_path->slots[0]); in unlink_old_inode_refs() 1589 ref_ptr = btrfs_item_ptr_offset(wc->log_leaf, wc->log_slot); in add_inode_ref() 1791 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs() [all …]
|
| H A D | free-space-tree.c | 322 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_convert_free_space_to_bitmaps() 402 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_convert_free_space_to_extents() 526 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_free_space_test_bit() 556 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_modify_bits()
|
| H A D | reflink.c | 283 btrfs_item_ptr_offset(path->nodes[0], in clone_copy_inline_extent() 455 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot), in btrfs_clone()
|
| H A D | dir-item.c | 428 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
|
| H A D | raid-stripe-tree.c | 284 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item()
|
| H A D | ctree.c | 3940 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 3964 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item() 3969 btrfs_item_ptr_offset(leaf, slot), in split_item() 4075 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item() 4332 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item() 4367 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item() 4368 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
|
| H A D | backref.c | 2106 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_one_extref() 2690 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs() 2905 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 2945 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 3027 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
|
| H A D | print-tree.c | 570 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
|
| H A D | relocation.c | 4112 write_extent_buffer(leaf, &remap, btrfs_item_ptr_offset(leaf, path->slots[0]), in add_remap_item() 4141 write_extent_buffer(leaf, &remap, btrfs_item_ptr_offset(leaf, path->slots[0]), in add_remap_backref_item() 4283 btrfs_item_ptr_offset(leaf, path->slots[0]), in move_existing_remap() 4506 offset = btrfs_item_ptr_offset(leaf, path->slots[0]); in create_remap_tree_entries() 5886 btrfs_item_ptr_offset(path->nodes[0], path->slots[0]), in insert_remap_item() 5905 btrfs_item_ptr_offset(path->nodes[0], path->slots[0]), in insert_remap_item()
|
| H A D | block-group.c | 2133 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb() 2659 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 3270 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
|
| H A D | accessors.h | 1047 #define btrfs_item_ptr_offset(leaf, slot) \ macro
|
| H A D | file-item.c | 1040 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
|
| H A D | send.c | 1013 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref() 3870 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor() 7109 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs() 7464 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item() 7465 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
|
| H A D | ioctl.c | 1424 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk() 1846 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user() 2039 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
|
| H A D | file.c | 2335 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_replace_extent()
|
| H A D | inode.c | 3098 btrfs_item_ptr_offset(leaf, path->slots[0]), in insert_reserved_file_extent() 4182 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()
|