Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/btrfs/
Dprint-tree.c60 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 …]
Dexport.c202 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
276 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
281 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
Dinode-item.c299 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref()
351 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
369 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
Dfile-item.c55 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent()
118 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
259 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()
762 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
893 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
Dfile.c828 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
897 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents()
902 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
1112 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
1184 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1211 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1219 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
1236 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1246 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1275 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
[all …]
Dtree-checker.c122 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item()
255 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item()
646 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
705 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item()
791 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
Dtree-log.c409 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
412 item = btrfs_item_ptr(eb, slot, in overwrite_item()
433 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
588 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
635 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
2142 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2169 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2326 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes()
2540 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer()
3452 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_del_dir_entries_in_log()
[all …]
Dbackref.c97 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb()
457 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents()
926 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs()
1068 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1088 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1693 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
1764 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item);
2070 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
Ddir-item.c45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
383 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
Dxattr.c201 ptr = btrfs_item_ptr(leaf, slot, char); in do_setxattr()
317 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
Droot-tree.c371 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
447 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
Dsend.c829 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info()
911 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref()
1031 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item()
1346 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone()
1375 ei = btrfs_item_ptr(tmp_path->nodes[0], tmp_path->slots[0], in find_extent_clone()
1530 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1788 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1797 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2403 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin()
2575 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes()
[all …]
Dqgroup.c377 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
419 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
431 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
621 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
640 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
730 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item()
776 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item()
818 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item()
949 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable()
1656 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
Dref-verify.c454 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in process_extent_item()
539 dref = btrfs_item_ptr(leaf, i, in process_leaf()
545 sref = btrfs_item_ptr(leaf, i, in process_leaf()
Dvolumes.c1485 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start()
1568 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1577 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1625 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1725 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2324 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout()
2605 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
2965 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks()
3072 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item()
3599 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance()
[all …]
Dextent-tree.c866 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
1188 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
1238 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
1250 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
1264 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
1300 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1304 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
1360 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1364 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
1570 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref()
[all …]
Dprops.c190 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
Dinode.c212 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent()
1405 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow()
2292 fi = btrfs_item_ptr(leaf, path->slots[0], in insert_reserved_file_extent()
2500 extent = btrfs_item_ptr(leaf, slot, in record_one_backref()
2690 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref()
2731 fi = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref()
2759 item = btrfs_item_ptr(leaf, path->slots[0], in relink_extent_backref()
2932 extent = btrfs_item_ptr(l, slot, struct btrfs_file_extent_item); in record_old_file_extents()
3690 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode()
3929 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item()
[all …]
Ddev-replace.c91 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace()
371 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
Dioctl.c1092 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents()
2376 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree()
2469 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user()
2550 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user()
2747 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info()
2838 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref()
3763 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_update_extent_map()
3873 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent()
4040 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
4152 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
Drelocation.c606 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in find_inline_backref()
1577 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location()
1637 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents()
3334 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block()
3632 fi = btrfs_item_ptr(leaf, path->slots[0], in find_data_references()
3753 dref = btrfs_item_ptr(eb, path->slots[0], in add_data_references()
3997 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group()
4130 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
Ddelayed-inode.c775 data_ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_batch_insert_items()
817 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item()
1039 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
Dfree-space-cache.c67 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode()
149 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode()
178 header = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode()
701 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()
Dscrub.c682 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode()
774 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item); in scrub_print_warning()
2931 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity()
3282 extent = btrfs_item_ptr(l, slot, in scrub_stripe()
3533 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in scrub_enumerate_chunks()
/linux-4.19.296/fs/btrfs/tests/
Dqgroup-tests.c48 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()

12