/fs/btrfs/ |
D | print-tree.c | 99 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 234 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 241 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 248 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 264 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 269 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 275 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 296 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 305 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() 309 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 | file.c | 283 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 352 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents() 357 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents() 561 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable() 634 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 661 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 669 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() 686 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 696 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 725 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() [all …]
|
D | file-item.c | 167 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent() 230 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 284 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 592 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range() 1023 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 1184 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks() 1294 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
|
D | inode-item.c | 286 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 336 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 354 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 539 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
|
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() 506 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item() 1014 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item() 1065 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item() 1316 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item() 1645 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
|
D | extent-tree.c | 179 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 501 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 551 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 563 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 577 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 614 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 618 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 673 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 677 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 884 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref() [all …]
|
D | tree-log.c | 442 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in do_overwrite_item() 445 item = btrfs_item_ptr(eb, slot, in do_overwrite_item() 466 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in do_overwrite_item() 657 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent() 704 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 1981 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item() 2072 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2099 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2141 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log() 2229 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes() [all …]
|
D | send.c | 889 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_inode_info() 969 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1085 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1380 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone() 1409 ei = btrfs_item_ptr(tmp_path->nodes[0], tmp_path->slots[0], in find_extent_clone() 1562 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 1819 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1828 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2426 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin() 2631 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes() [all …]
|
D | xattr.c | 198 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr() 317 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
D | dir-item.c | 43 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 387 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
|
D | backref.c | 99 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 490 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 991 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs() 1132 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1152 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1932 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path() 2003 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in extent_from_logical() 2323 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in iterate_inode_refs() 2595 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_backref_iter_start()
|
D | root-tree.c | 354 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 430 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
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 | qgroup.c | 400 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 446 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 458 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 690 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 709 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 799 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 845 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 887 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1057 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 1920 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
|
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 | dev-replace.c | 132 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 423 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace() 540 dev_extent = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_extent); in mark_block_group_to_copy()
|
D | volumes.c | 1697 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start() 1777 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1786 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1894 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item() 2606 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 2916 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device() 3398 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 3503 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item() 3978 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance() 4553 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 | 184 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
D | relocation.c | 1029 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 1091 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3191 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3399 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache() 3668 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 3798 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
D | inode.c | 320 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 1806 fi = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in can_nocow_file_extent() 2013 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 3995 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 4228 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() 5663 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location() 6166 di = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_real_readdir() 6553 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_create_new_inode() 6560 ref = btrfs_item_ptr(path->nodes[0], path->slots[0] + 1, in btrfs_create_new_inode() 7040 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_extent() [all …]
|
D | free-space-cache.c | 96 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode() 174 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 203 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 779 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache() 1187 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
|
D | ioctl.c | 1153 fi = btrfs_item_ptr(path.nodes[0], path.slots[0], in defrag_get_extent() 2749 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 2834 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 2923 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 3113 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info() 3203 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref()
|
/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()
|