/openbmc/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()
|
/openbmc/linux/fs/btrfs/ |
H A D | uuid-tree.c | 59 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup() 121 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 130 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 191 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove() 222 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove() 336 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
|
H A D | root-tree.c | 34 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item() 153 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root() 184 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
|
H A D | inode-item.c | 30 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref() 57 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref() 165 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref() 229 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
|
H A D | tree-checker.c | 686 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item() 767 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err() 1179 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item() 1360 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item() 1637 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref() 1715 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref() 1998 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in __btrfs_check_leaf() 2004 btrfs_item_ptr_offset(leaf, slot)); in __btrfs_check_leaf()
|
H A D | tree-log.c | 419 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item() 449 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item() 532 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item() 748 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() 1527 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs() 1579 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 | print-tree.c | 349 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
|
H A D | dir-item.c | 439 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
|
H A D | ctree.c | 4095 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item() 4119 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item() 4124 btrfs_item_ptr_offset(leaf, slot), in split_item() 4233 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item() 4491 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item() 4527 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item() 4528 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() 2677 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs() 2879 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 2919 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start() 2986 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
|
H A D | block-group.c | 2023 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb() 2535 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups() 3087 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
|
H A D | accessors.h | 1069 #define btrfs_item_ptr_offset(leaf, slot) \ macro
|
H A D | file-item.c | 978 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
|
H A D | ioctl.c | 1591 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk() 2049 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user() 2245 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
|
H A D | send.c | 1034 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref() 3941 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor() 7244 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs() 7604 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item() 7605 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
|
H A D | file.c | 2293 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_replace_extent()
|
H A D | inode.c | 2914 btrfs_item_ptr_offset(leaf, path->slots[0]), in insert_reserved_file_extent() 3862 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()
|
H A D | volumes.c | 4740 btrfs_item_ptr_offset(eb, slot), in btrfs_uuid_scan_kthread()
|