Home
last modified time | relevance | path

Searched refs:btrfs_item_ptr (Results 1 – 25 of 37) sorted by relevance

12

/linux/fs/btrfs/
H A Dprint-tree.c115 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
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()
[all …]
H A Dexport.c200 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
271 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
276 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
H A Dfile-item.c181 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()
554 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list()
707 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap()
1084 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
1243 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
1348 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
H A Dfile.c232 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
305 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents()
310 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
526 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
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()
633 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, 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()
687 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
[all …]
H A Draid-stripe-tree.c44 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 Dinode-item.c291 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 Dtree-checker.c232 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 Dextent-tree.c165 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in btrfs_lookup_extent_info()
484 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
534 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
546 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()
595 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
599 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
652 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
656 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
861 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref()
[all …]
H A Dfiemap.c597 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 Dtree-log.c473 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
476 item = btrfs_item_ptr(eb, slot, in overwrite_item()
497 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
656 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
703 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 …]
H A Ddir-item.c45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
388 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
H A Dsend.c951 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_inode_info()
1025 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref()
1146 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item()
1603 fi = btrfs_item_ptr(eb, path->slots[0], struct btrfs_file_extent_item); in find_extent_clone()
1779 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
2054 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2063 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2548 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin()
2753 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes()
2974 di = btrfs_item_ptr(eb, path->slots[0], struct btrfs_dir_item); in did_create_dir()
[all …]
H A Dxattr.c201 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 Droot-tree.c367 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 Dverity.c259 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 Dbackref.c126 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 Dref-verify.c447 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 Dqgroup.c427 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 Ddev-replace.c131 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace()
416 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
522 dev_extent = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_extent); in mark_block_group_to_copy()
H A Dvolumes.c1859 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent()
1932 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1941 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
2048 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2753 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout()
3049 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
3615 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks()
3758 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item()
4228 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance()
4804 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in btrfs_recover_balance()
[all …]
H A Dreflink.c220 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 Dinode.c156 inode_item = btrfs_item_ptr(eb, warn->path.slots[0], struct btrfs_inode_item); in data_reloc_print_warning_inode()
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()
1841 fi = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in can_nocow_file_extent()
2098 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow()
3890 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode()
4128 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item()
5530 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location()
6010 di = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_real_readdir()
6402 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_create_new_inode()
[all …]
H A Dprops.c191 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
H A Drelocation.c816 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()
3303 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache()
3575 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group()
3718 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
/linux/fs/btrfs/tests/
H A Dqgroup-tests.c49 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()

12