/linux/fs/btrfs/ |
H A D | print-tree.c | 115 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 265 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 272 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 279 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 295 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 300 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 306 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 326 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 335 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() 339 print_dev_item(l, btrfs_item_ptr( in btrfs_print_leaf() [all...] |
H A D | export.c | 201 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 273 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 278 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
|
H A D | file-item.c | 182 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent() 242 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 296 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 551 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list() 704 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap() 1080 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 1239 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks() 1343 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
|
H A D | raid-stripe-tree.c | 44 extent = btrfs_item_ptr(leaf, slot, struct btrfs_stripe_extent); in btrfs_partially_delete_raid_extent() 187 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_delete_raid_extent() 444 stripe_extent = btrfs_item_ptr(leaf, slot, struct btrfs_stripe_extent); in btrfs_get_raid_extent_offset()
|
H A D | file.c | 231 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 304 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents() 309 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 524 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable() 596 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 623 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 631 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() 647 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 657 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 685 fi = btrfs_item_ptr(lea in btrfs_mark_extent_written() [all...] |
H A D | tree-checker.c | 232 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item() 332 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item() 532 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item() 1069 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item() 1120 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item() 1399 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item() 1639 sref = btrfs_item_ptr(leaf, slot, struct btrfs_shared_data_ref); in check_simple_keyed_refs() 1812 de = btrfs_item_ptr(leaf, slot, struct btrfs_dev_extent); in check_dev_extent_item() 1858 prev_de = btrfs_item_ptr(leaf, slot - 1, struct btrfs_dev_extent); in check_dev_extent_item() 1900 chunk = btrfs_item_ptr(lea in check_leaf_item() [all...] |
H A D | fiemap.c | 597 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in fiemap_find_last_extent_offset() 621 ei = btrfs_item_ptr(leaf, path->slots[0], in fiemap_find_last_extent_offset() 736 ei = btrfs_item_ptr(leaf, path->slots[0], in extent_fiemap()
|
H A D | extent-tree.c | 162 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in btrfs_lookup_extent_info() 480 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 530 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 542 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 556 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 591 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 595 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 648 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 652 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 857 ei = btrfs_item_ptr(lea in lookup_inline_extent_backref() [all...] |
H A D | dir-item.c | 45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 382 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
|
H A D | tree-log.c | 472 item = btrfs_item_ptr(dst_eb, dst_slot, in overwrite_item() 475 item = btrfs_item_ptr(eb, slot, in overwrite_item() 496 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item() 638 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent() 2012 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item() 2103 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2130 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2172 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log() 2261 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes() 2472 inode_item = btrfs_item_ptr(e in replay_one_buffer() [all...] |
H A D | root-tree.c | 367 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 443 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
H A D | xattr.c | 201 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr() 319 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
H A D | backref.c | 126 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 538 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 1029 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs() 1183 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1203 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 2172 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path() 2247 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in extent_from_logical() 2618 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in iterate_inode_refs() 2897 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_backref_iter_start()
|
H A D | qgroup.c | 432 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 496 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 508 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 743 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 760 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 848 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 891 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 930 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1090 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 2160 fi = btrfs_item_ptr(e in btrfs_qgroup_trace_leaf_items() [all...] |
H A D | dev-replace.c | 127 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 409 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace() 513 dev_extent = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_extent); in mark_block_group_to_copy()
|
H A D | reflink.c | 217 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent() 420 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
|
H A D | props.c | 191 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
H A D | inode.c | 156 inode_item = btrfs_item_ptr(eb, warn->path.slots[0], struct btrfs_inode_item); in data_reloc_print_warning_inode() 257 ei = btrfs_item_ptr(eb, path.slots[0], struct btrfs_extent_item); in print_data_reloc_error() 504 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 1825 fi = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in can_nocow_file_extent() 2139 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 3916 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 4142 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() 5645 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location() 6132 di = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_real_readdir() 6524 inode_item = btrfs_item_ptr(pat in btrfs_create_new_inode() [all...] |
H A D | relocation.c | 844 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 905 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3078 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3289 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache() 3560 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 3703 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
H A D | scrub.c | 530 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 620 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_common_warning() 1576 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], struct btrfs_extent_item); in get_extent_info() 2652 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
|
H A D | free-space-cache.c | 108 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode() 186 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 214 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 769 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache() 1183 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
|
H A D | free-space-tree.c | 88 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info() 121 return btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_search_free_space_info()
|
H A D | delayed-inode.c | 740 data_ptr = btrfs_item_ptr(path->nodes[0], path->slots[0], char); in btrfs_insert_delayed_item() 1020 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
|
H A D | ioctl.c | 1785 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 1870 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 1959 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 2149 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info() 2239 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref()
|
/linux/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 49 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref() 97 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 179 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
|