/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 | 60 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup() 122 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 131 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 192 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove() 223 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() 446 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() 164 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref() 228 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
|
H A D | tree-checker.c | 708 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 789 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err() 1202 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1384 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item() 1664 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref() 1742 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref() 2053 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in __btrfs_check_leaf() 2059 btrfs_item_ptr_offset(leaf, slot)); in __btrfs_check_leaf()
|
H A D | tree-log.c | 416 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item() 446 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item() 529 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item() 745 dest_offset = btrfs_item_ptr_offset(path->nodes[0], in replay_one_extent() 1107 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref() 1157 base = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref() 1306 ref_ptr = btrfs_item_ptr_offset(eb, path->slots[0]); in unlink_old_inode_refs() 1385 ref_ptr = btrfs_item_ptr_offset(eb, slot); in add_inode_ref() 1526 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs() 1577 ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in count_inode_refs() [all …]
|
H A D | free-space-tree.c | 324 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps() 406 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents() 530 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit() 560 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
|
H A D | reflink.c | 281 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 | raid-stripe-tree.c | 170 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item()
|
H A D | print-tree.c | 378 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
|
H A D | ctree.c | 3983 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 4007 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item() 4012 btrfs_item_ptr_offset(leaf, slot), in split_item() 4121 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item() 4383 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item() 4419 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item() 4420 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
|
H A D | backref.c | 2101 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_one_extref() 2678 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs() 2894 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 2934 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 3009 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
|
H A D | block-group.c | 2038 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb() 2543 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 3120 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
|
H A D | file-item.c | 989 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
|
H A D | accessors.h | 1052 #define btrfs_item_ptr_offset(leaf, slot) \ macro
|
H A D | send.c | 1030 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref() 3931 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor() 7234 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs() 7594 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item() 7595 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
|
H A D | ioctl.c | 1595 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk() 2052 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user() 2248 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
|
H A D | file.c | 2189 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_replace_extent()
|
H A D | inode.c | 2921 btrfs_item_ptr_offset(leaf, path->slots[0]), in insert_reserved_file_extent() 3944 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()
|