| /Linux-v5.15/fs/btrfs/ |
| D | print-tree.c | 98 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 235 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 242 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 249 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 265 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 270 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 276 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 …]
|
| D | export.c | 181 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 252 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 257 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
|
| D | inode-item.c | 286 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 337 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 355 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
|
| D | file-item.c | 158 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 221 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 274 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 571 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range() 1003 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 1164 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks() 1273 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
|
| D | file.c | 782 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 851 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents() 856 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 1053 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable() 1126 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1153 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1161 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() 1178 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1188 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1217 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() [all …]
|
| D | tree-checker.c | 224 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item() 324 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item() 492 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item() 975 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item() 1019 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item() 1269 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item() 1578 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
|
| D | extent-tree.c | 176 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 498 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 548 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 560 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 574 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 610 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 614 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 670 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 674 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 876 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref() [all …]
|
| D | dir-item.c | 45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 410 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
|
| D | xattr.c | 200 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr() 337 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
| D | root-tree.c | 342 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 418 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
| D | tree-log.c | 461 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 464 item = btrfs_item_ptr(eb, slot, in overwrite_item() 485 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item() 631 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent() 678 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 2210 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2237 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2394 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes() 2606 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer() 3627 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in insert_dir_log_key() [all …]
|
| D | verity.c | 254 data = btrfs_item_ptr(leaf, path->slots[0], void); in write_key_bytes() 372 data = btrfs_item_ptr(leaf, path->slots[0], void); in read_key_bytes()
|
| D | backref.c | 99 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 486 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 956 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs() 1095 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1115 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1715 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); 1785 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); 2088 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); 2368 ei = btrfs_item_ptr(path->nodes[0], path->slots[0],
|
| D | send.c | 837 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info() 919 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1039 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1335 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone() 1364 ei = btrfs_item_ptr(tmp_path->nodes[0], tmp_path->slots[0], in find_extent_clone() 1497 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 1751 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1760 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2362 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin() 2534 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes() [all …]
|
| D | ref-verify.c | 443 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in process_extent_item() 530 dref = btrfs_item_ptr(leaf, i, in process_leaf() 536 sref = btrfs_item_ptr(leaf, i, in process_leaf()
|
| D | qgroup.c | 382 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 428 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 440 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 672 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 691 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 781 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 827 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 869 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1024 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 1806 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
|
| D | dev-replace.c | 132 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 422 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace() 559 dev_extent = btrfs_item_ptr(leaf, slot, struct btrfs_dev_extent); in mark_block_group_to_copy()
|
| D | volumes.c | 1658 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start() 1737 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1746 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1852 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item() 2506 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 2804 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device() 3267 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 3372 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item() 3847 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance() 4427 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in btrfs_recover_balance() [all …]
|
| D | reflink.c | 215 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent() 414 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
|
| D | props.c | 159 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
| D | relocation.c | 1027 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 1089 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3182 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3390 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache() 3654 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 3788 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
| D | free-space-cache.c | 76 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode() 156 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 185 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 737 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache() 1125 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
|
| D | ioctl.c | 1059 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents() 2413 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 2498 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 2581 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 2776 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info() 2867 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref()
|
| D | scrub.c | 667 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 760 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_warning() 3011 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity() 3431 extent = btrfs_item_ptr(l, slot, in scrub_stripe() 3717 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
|
| /Linux-v5.15/fs/btrfs/tests/ |
| D | qgroup-tests.c | 47 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref() 95 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 177 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
|