| /linux-6.15/fs/btrfs/ |
| H A D | print-tree.c | 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(l, i, in btrfs_print_leaf() 343 dev_extent = 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() 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() 1344 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
|
| H A D | file.c | 232 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 310 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 598 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 625 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 649 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 659 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() 773 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 779 fi = btrfs_item_ptr(leaf, del_slot - 1, in btrfs_mark_extent_written() 2008 fi = btrfs_item_ptr(leaf, path->slots[0], in fill_holes() [all …]
|
| 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() 441 stripe_extent = btrfs_item_ptr(leaf, slot, struct btrfs_stripe_extent); in btrfs_get_raid_extent_offset()
|
| H A D | inode-item.c | 291 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 339 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 357 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 540 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
|
| 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(leaf, slot, struct btrfs_chunk); in check_leaf_item()
|
| 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 | 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() 2497 fi = btrfs_item_ptr(buf, i, in __btrfs_mod_ref() 3219 ei = btrfs_item_ptr(leaf, extent_slot, in __btrfs_free_extent() [all …]
|
| H A D | tree-log.c | 470 item = btrfs_item_ptr(dst_eb, dst_slot, in overwrite_item() 473 item = btrfs_item_ptr(eb, slot, in overwrite_item() 1965 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item() 2056 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2083 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2125 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log() 2424 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer() 3558 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in insert_dir_log_key() 3731 di = btrfs_item_ptr(src, i, struct btrfs_dir_item); in process_dir_items_leaf() 4409 extent = btrfs_item_ptr(src, src_slot, in copy_items() [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 | 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 | verity.c | 259 data = btrfs_item_ptr(leaf, path->slots[0], void); in write_key_bytes() 377 data = btrfs_item_ptr(leaf, path->slots[0], void); in read_key_bytes()
|
| 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 | send.c | 944 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_inode_info() 1018 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1139 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1772 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 2043 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 3282 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir() 3305 di = btrfs_item_ptr(path->nodes[0], path->slots[0], in can_rmdir() 5684 ei = btrfs_item_ptr(leaf, path->slots[0], in send_extent_data() 6176 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in send_write_or_clone() 6534 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in process_extent() [all …]
|
| 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() 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() 2897 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_backref_iter_start()
|
| H A D | ref-verify.c | 447 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in process_extent_item() 541 dref = btrfs_item_ptr(leaf, i, in process_leaf() 547 sref = btrfs_item_ptr(leaf, i, in process_leaf()
|
| H A D | qgroup.c | 427 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() 744 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 761 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 849 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 892 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 931 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1101 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 2186 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
|
| 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 | 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 | volumes.c | 1770 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent() 1843 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1852 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 2664 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 3526 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 4139 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance() 4946 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in btrfs_shrink_device() 7469 dev_item = btrfs_item_ptr(leaf, slot, in btrfs_read_chunk_tree() 7486 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in btrfs_read_chunk_tree() 7602 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_stats_item); in btrfs_device_init_dev_stats() [all …]
|
| 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 | 257 ei = btrfs_item_ptr(eb, path.slots[0], struct btrfs_extent_item); in print_data_reloc_error() 502 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 2152 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 3921 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 4156 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() 5558 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location() 6441 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_create_new_inode() 6448 ref = btrfs_item_ptr(path->nodes[0], path->slots[0] + 1, in btrfs_create_new_inode() 6855 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_inline_extent() 6956 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_extent() [all …]
|
| H A D | relocation.c | 816 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 877 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3094 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3305 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache() 3576 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 3719 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
| /linux-6.15/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()
|