/fs/btrfs/ |
D | print-tree.c | 60 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 205 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 212 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 219 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 235 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 240 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 246 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 267 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 276 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() 280 print_dev_item(l, btrfs_item_ptr(l, i, in btrfs_print_leaf() [all …]
|
D | export.c | 209 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 283 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 288 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
|
D | file.c | 830 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents() 899 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents() 904 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents() 1120 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable() 1193 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1220 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1228 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() 1245 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1255 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1284 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() [all …]
|
D | inode-item.c | 291 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 343 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 361 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
|
D | file-item.c | 61 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 124 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 258 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in __btrfs_lookup_bio_sums() 380 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range() 777 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 908 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
|
D | tree-checker.c | 144 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item() 231 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item() 323 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item() 774 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item() 833 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item() 1088 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item() 1353 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
|
D | extent-tree.c | 212 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 534 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 584 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 596 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 610 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 646 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 650 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() 706 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 710 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count() 916 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref() [all …]
|
D | backref.c | 97 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 488 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 983 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs() 1124 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1144 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1756 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); 1827 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); 2130 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
|
D | tree-log.c | 422 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 425 item = btrfs_item_ptr(eb, slot, in overwrite_item() 446 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item() 600 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent() 647 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 2215 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2242 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2399 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes() 2613 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer() 3500 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_del_dir_entries_in_log() [all …]
|
D | send.c | 844 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info() 926 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1054 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1359 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone() 1388 ei = btrfs_item_ptr(tmp_path->nodes[0], tmp_path->slots[0], in find_extent_clone() 1535 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 1789 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1798 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2404 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin() 2576 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes() [all …]
|
D | dir-item.c | 45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 411 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() 335 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
D | root-tree.c | 379 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 455 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
D | qgroup.c | 376 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 418 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 430 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 663 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 682 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 772 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 818 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 860 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 1021 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable() 1813 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() 529 dref = btrfs_item_ptr(leaf, i, in process_leaf() 535 sref = btrfs_item_ptr(leaf, i, in process_leaf()
|
D | volumes.c | 1794 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start() 1874 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1883 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1931 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent() 2036 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item() 2653 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 2936 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device() 3295 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 3399 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item() 3878 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance() [all …]
|
D | inode.c | 207 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 1534 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 2490 fi = btrfs_item_ptr(leaf, path->slots[0], in insert_reserved_file_extent() 2698 extent = btrfs_item_ptr(leaf, slot, in record_one_backref() 2889 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref() 2930 fi = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref() 2958 item = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref() 3129 extent = btrfs_item_ptr(l, slot, struct btrfs_file_extent_item); in record_old_file_extents() 3929 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 4153 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() [all …]
|
D | relocation.c | 642 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in find_inline_backref() 1650 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location() 1712 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents() 3506 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block() 3804 fi = btrfs_item_ptr(leaf, path->slots[0], in find_data_references() 3925 dref = btrfs_item_ptr(eb, path->slots[0], in add_data_references() 4169 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group() 4299 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
|
D | props.c | 159 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
D | dev-replace.c | 91 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 372 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
|
D | delayed-inode.c | 779 data_ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_batch_insert_items() 821 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item() 1043 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
|
D | ioctl.c | 1108 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents() 2450 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 2543 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 2624 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user() 2821 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info() 2912 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref() 3509 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent() 3677 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
|
D | free-space-cache.c | 70 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode() 153 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 182 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode() 702 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache() 1040 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
|
D | scrub.c | 676 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 768 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_warning() 2933 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity() 3284 extent = btrfs_item_ptr(l, slot, in scrub_stripe() 3535 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
|
/fs/btrfs/tests/ |
D | qgroup-tests.c | 48 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() 181 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
|