/linux-4.4.14/fs/btrfs/ |
D | print-tree.c | 74 ei0 = btrfs_item_ptr(eb, slot, struct btrfs_extent_item_v0); in print_extent_item() 83 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item() 143 ref0 = btrfs_item_ptr(eb, slot, struct btrfs_extent_ref_v0); in print_extent_ref_v0() 205 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf() 213 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf() 220 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf() 236 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 241 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 247 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf() 274 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf() [all …]
|
D | export.c | 199 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent() 275 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 280 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
|
D | file.c | 771 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents() 839 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents() 844 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents() 1048 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable() 1114 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1134 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1142 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() 1159 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1169 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written() 1198 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written() [all …]
|
D | inode-item.c | 308 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref() 358 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 374 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
|
D | file-item.c | 67 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 129 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 266 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in __btrfs_lookup_bio_sums() 383 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range() 719 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks() 847 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
|
D | backref.c | 104 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb() 293 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents() 739 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in __add_inline_refs() 867 sdref = btrfs_item_ptr(leaf, slot, in __add_keyed_refs() 884 dref = btrfs_item_ptr(leaf, slot, in __add_keyed_refs() 1447 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); 1517 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); 1804 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
|
D | tree-log.c | 410 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 413 item = btrfs_item_ptr(eb, slot, in overwrite_item() 434 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item() 592 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent() 638 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent() 1912 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 1940 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range() 2102 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes() 2313 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer() 3141 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_del_dir_entries_in_log() [all …]
|
D | send.c | 804 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info() 886 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref() 1007 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item() 1324 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone() 1488 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink() 1743 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 1752 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2344 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin() 2509 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes() 2667 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in did_create_dir() [all …]
|
D | root-tree.c | 383 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref() 457 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
|
D | xattr.c | 211 ptr = btrfs_item_ptr(leaf, slot, char); in do_setxattr() 321 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
|
D | qgroup.c | 350 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 393 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 405 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config() 597 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 616 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item() 706 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item() 751 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item() 793 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item() 907 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable()
|
D | dir-item.c | 58 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow() 394 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
|
D | extent-tree.c | 867 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 875 ei0 = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info() 1062 ei0 = btrfs_item_ptr(leaf, path->slots[0], in convert_extent_item_v0() 1082 ref0 = btrfs_item_ptr(leaf, path->slots[0], in convert_extent_item_v0() 1103 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in convert_extent_item_v0() 1227 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref() 1277 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 1289 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 1303 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref() 1340 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref() [all …]
|
D | volumes.c | 1144 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in btrfs_account_dev_extents_size() 1362 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start() 1443 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1452 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1500 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent() 1604 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_device() 2215 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout() 2588 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device() 2915 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks() 2978 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item() [all …]
|
D | relocation.c | 639 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in find_inline_backref() 820 ref0 = btrfs_item_ptr(eb, path1->slots[0], 1601 fi = btrfs_item_ptr(leaf, path->slots[0], 1660 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); 3268 ref0 = btrfs_item_ptr(leaf, slot, 3300 ei = btrfs_item_ptr(eb, path->slots[0], 3603 fi = btrfs_item_ptr(leaf, path->slots[0], 3731 dref = btrfs_item_ptr(eb, path->slots[0], 3958 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], 4118 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item);
|
D | props.c | 202 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
|
D | dev-replace.c | 103 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace() 264 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
|
D | inode.c | 176 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent() 1324 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow() 2113 fi = btrfs_item_ptr(leaf, path->slots[0], in insert_reserved_file_extent() 2319 extent = btrfs_item_ptr(leaf, slot, in record_one_backref() 2511 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref() 2552 fi = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref() 2580 item = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref() 2753 extent = btrfs_item_ptr(l, slot, struct btrfs_file_extent_item); in record_old_file_extents() 3637 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode() 3864 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item() [all …]
|
D | delayed-inode.c | 810 data_ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_batch_insert_items() 849 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item() 1066 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
|
D | free-space-cache.c | 71 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() 703 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache() 1020 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
|
D | scrub.c | 556 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 639 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_warning() 2949 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity() 3299 extent = btrfs_item_ptr(l, slot, in scrub_stripe() 3554 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
|
D | ioctl.c | 950 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents() 2260 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 3335 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_update_extent_map() 3446 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent() 3612 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone() 3725 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
|
D | super.c | 901 root_ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_subvol_name_from_objectid() 950 inode_ref = btrfs_item_ptr(path->nodes[0], in get_subvol_name_from_objectid()
|
D | ctree.c | 4354 fi = btrfs_item_ptr(leaf, path->slots[0], in setup_leaf_for_split() 4380 fi = btrfs_item_ptr(leaf, path->slots[0], in setup_leaf_for_split() 4604 fi = btrfs_item_ptr(leaf, slot, in btrfs_truncate_item()
|
D | ctree.h | 3354 #define btrfs_item_ptr(leaf, slot, type) \ macro
|
/linux-4.4.14/fs/btrfs/tests/ |
D | qgroup-tests.c | 68 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref() 117 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 201 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
|
D | inode-tests.c | 49 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in insert_extent()
|