/openbmc/linux/fs/btrfs/ |
H A D | print-tree.c | 104 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 239 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 246 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 253 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 269 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 274 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 280 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 297 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 306 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() 310 print_dev_item(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() [all …]
|
H A D | export.c | 201 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 272 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 277 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
|
H A D | file-item.c | 184 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent() 247 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 301 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 548 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list() 698 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap() 1075 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 1236 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks() 1344 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
|
H A D | file.c | 290 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 364 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 641 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 668 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 693 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 703 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 738 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 812 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 819 fi = btrfs_item_ptr(leaf, del_slot - 1, in btrfs_mark_extent_written() 2126 fi = btrfs_item_ptr(leaf, path->slots[0], in fill_holes() [all …]
|
H A D | inode-item.c | 292 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 342 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 360 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 545 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
|
H A D | tree-checker.c | 229 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item() 329 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item() 511 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item() 1034 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item() 1085 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item() 1363 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item() 1729 de = btrfs_item_ptr(leaf, slot, struct btrfs_dev_extent); in check_dev_extent_item() 1775 prev_de = btrfs_item_ptr(leaf, slot - 1, struct btrfs_dev_extent); in check_dev_extent_item() 1817 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
|
H A D | tree-log.c | 476 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 479 item = btrfs_item_ptr(eb, slot, in overwrite_item() 707 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 1983 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item() 2074 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2101 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2143 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log() 2442 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer() 3691 di = btrfs_item_ptr(src, i, struct btrfs_dir_item); in process_dir_items_leaf() 4371 extent = btrfs_item_ptr(src, src_slot, in copy_items() [all …]
|
H A D | extent-tree.c | 164 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 488 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 538 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 550 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 564 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 601 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 605 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 659 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 663 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 2457 fi = btrfs_item_ptr(buf, i, in __btrfs_mod_ref() [all …]
|
H A D | xattr.c | 202 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr() 321 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
H A D | dir-item.c | 46 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 393 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
|
H A D | root-tree.c | 359 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 435 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
H A D | send.c | 951 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_inode_info() 1029 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1153 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1787 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 2062 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 3263 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir() 3286 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir() 5723 ei = btrfs_item_ptr(leaf, path->slots[0], in send_extent_data() 6223 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in send_write_or_clone() 6584 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in process_extent() [all …]
|
H A D | verity.c | 260 data = btrfs_item_ptr(leaf, path->slots[0], void); in write_key_bytes() 378 data = btrfs_item_ptr(leaf, path->slots[0], void); in read_key_bytes()
|
H A D | backref.c | 126 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 542 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 1041 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs() 1192 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1212 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 2178 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path() 2249 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() 2883 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_backref_iter_start()
|
H A D | ref-verify.c | 446 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in process_extent_item() 533 dref = btrfs_item_ptr(leaf, i, in process_leaf() 539 sref = btrfs_item_ptr(leaf, i, in process_leaf()
|
H A D | qgroup.c | 406 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 452 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 464 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 696 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 715 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 805 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 851 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 893 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1063 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 1945 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
|
H A D | dev-replace.c | 134 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 417 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace() 526 dev_extent = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_extent); in mark_block_group_to_copy()
|
H A D | volumes.c | 1692 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent() 1765 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1774 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 2592 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 3387 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 3965 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance() 4936 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in btrfs_shrink_device() 7315 dev_item = btrfs_item_ptr(leaf, slot, in btrfs_read_chunk_tree() 7332 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in btrfs_read_chunk_tree() 7450 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_stats_item); in btrfs_device_init_dev_stats() [all …]
|
H A D | reflink.c | 220 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent() 419 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
|
H A D | props.c | 189 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
H A D | inode.c | 272 ei = btrfs_item_ptr(eb, path.slots[0], struct btrfs_extent_item); in print_data_reloc_error() 541 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 2071 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 3764 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 3997 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() 5445 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location() 6326 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_create_new_inode() 6333 ref = btrfs_item_ptr(path->nodes[0], path->slots[0] + 1, in btrfs_create_new_inode() 6731 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_inline_extent() 6835 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_extent() [all …]
|
H A D | relocation.c | 971 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 1033 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3149 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3358 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache() 3630 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 3760 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
H A D | scrub.c | 425 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 515 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_common_warning() 1450 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], struct btrfs_extent_item); in get_extent_info() 2450 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
|
/openbmc/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()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | ctree.h | 327 #define btrfs_item_ptr(l,s,t) \ macro
|