Home
last modified time | relevance | path

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

12

/Linux-v6.6/fs/btrfs/
Dprint-tree.c104 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
239 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
246 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf()
253 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf()
269 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
274 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
280 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 …]
Dexport.c194 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
265 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
270 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
Dfile-item.c184 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent()
247 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
301 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree()
548 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list()
698 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap()
1074 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
1235 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
1343 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
Dfile.c290 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
359 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents()
364 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
568 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
641 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
668 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
676 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
693 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
703 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
732 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
[all …]
Dinode-item.c292 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref()
342 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
360 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
545 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
Dtree-log.c457 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
460 item = btrfs_item_ptr(eb, slot, in overwrite_item()
481 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
641 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
688 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
1964 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item()
2055 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2082 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2124 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log()
2212 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes()
[all …]
Dextent-tree.c164 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
488 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
538 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
550 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
564 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
601 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
605 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
659 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
663 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
872 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref()
[all …]
Dtree-checker.c228 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item()
328 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item()
510 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item()
1032 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
1083 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item()
1334 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item()
1664 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
Ddir-item.c46 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
393 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
Dxattr.c202 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr()
321 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
Droot-tree.c359 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
435 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
Dsend.c946 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_inode_info()
1024 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref()
1140 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item()
1598 fi = btrfs_item_ptr(eb, path->slots[0], struct btrfs_file_extent_item); in find_extent_clone()
1774 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
2049 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2058 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2543 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin()
2748 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes()
2970 di = btrfs_item_ptr(eb, path->slots[0], struct btrfs_dir_item); in did_create_dir()
[all …]
Dverity.c260 data = btrfs_item_ptr(leaf, path->slots[0], void); in write_key_bytes()
378 data = btrfs_item_ptr(leaf, path->slots[0], void); in read_key_bytes()
Dbackref.c126 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb()
542 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents()
1041 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs()
1192 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1212 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
2178 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()
2889 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_backref_iter_start()
Dref-verify.c446 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in process_extent_item()
533 dref = btrfs_item_ptr(leaf, i, in process_leaf()
539 sref = btrfs_item_ptr(leaf, i, in process_leaf()
Dqgroup.c405 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
451 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
463 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
695 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
714 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
804 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item()
850 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item()
892 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item()
1062 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable()
1912 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
Ddev-replace.c134 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace()
417 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
526 dev_extent = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_extent); in mark_block_group_to_copy()
Dvolumes.c1685 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent()
1758 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1767 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1875 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2585 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout()
2887 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
3368 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks()
3473 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item()
3946 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance()
4522 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in btrfs_recover_balance()
[all …]
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()
Dprops.c189 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
Dinode.c171 inode_item = btrfs_item_ptr(eb, warn->path.slots[0], struct btrfs_inode_item); in data_reloc_print_warning_inode()
272 ei = btrfs_item_ptr(eb, path.slots[0], struct btrfs_extent_item); in print_data_reloc_error()
541 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent()
1866 fi = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in can_nocow_file_extent()
2069 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow()
3747 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode()
3980 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item()
5408 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location()
5911 di = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_real_readdir()
6289 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_create_new_inode()
[all …]
Drelocation.c1039 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location()
1101 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents()
3217 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block()
3426 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache()
3701 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group()
3831 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
Dscrub.c425 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode()
515 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_common_warning()
1440 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], struct btrfs_extent_item); in get_extent_info()
2431 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
Dfree-space-cache.c105 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode()
183 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode()
212 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode()
769 header = btrfs_item_ptr(leaf, path->slots[0], in __load_free_space_cache()
1183 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
/Linux-v6.6/fs/btrfs/tests/
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