Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dprint-tree.c98 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
243 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
250 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf()
257 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf()
273 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
278 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
284 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
305 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
314 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf()
318 print_dev_item(l, btrfs_item_ptr(l, i, in btrfs_print_leaf()
[all …]
H A Dexport.c181 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
253 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
258 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
H A Dfile-item.c152 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent()
215 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
361 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_bio_sums()
472 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range()
877 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
1015 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
1125 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
H A Dinode-item.c291 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()
H A Dfile.c758 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
827 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents()
832 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
1044 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
1117 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1144 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1152 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
1169 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1179 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1208 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
[all …]
H A Dextent-tree.c174 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
496 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
546 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
558 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
572 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
608 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
612 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
668 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
672 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
873 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in lookup_inline_extent_backref()
[all …]
H A Dtree-checker.c222 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item()
320 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item()
485 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item()
965 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
1014 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item()
1257 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item()
1557 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
H A Dtree-log.c420 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
423 item = btrfs_item_ptr(eb, slot, in overwrite_item()
444 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
589 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
636 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
2197 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2224 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2381 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes()
2595 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer()
3478 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_del_dir_entries_in_log()
[all …]
H A Dxattr.c200 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr()
337 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
H A 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()
H A Droot-tree.c344 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
420 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
H A Dbackref.c98 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()
984 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs()
1125 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1145 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1757 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
1828 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item);
2150 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
2430 ei = btrfs_item_ptr(path->nodes[0], path->slots[0],
H A Dsend.c837 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], in __get_inode_info()
919 ptr = (unsigned long)btrfs_item_ptr(eb, slot, in iterate_inode_ref()
1039 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in iterate_dir_item()
1344 fi = btrfs_item_ptr(eb, path->slots[0], in find_extent_clone()
1373 ei = btrfs_item_ptr(tmp_path->nodes[0], tmp_path->slots[0], in find_extent_clone()
1520 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in read_symlink()
1774 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1783 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2389 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in send_subvol_begin()
2561 ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in send_utimes()
[all …]
H A Dqgroup.c381 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
427 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
439 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
671 qgroup_info = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
690 qgroup_limit = btrfs_item_ptr(leaf, path->slots[0], in add_qgroup_item()
780 qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item); in update_qgroup_limit_item()
826 qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item); in update_qgroup_info_item()
868 ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); in update_qgroup_status_item()
1033 ptr = btrfs_item_ptr(leaf, path->slots[0], in btrfs_quota_enable()
1840 fi = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); in btrfs_qgroup_trace_leaf_items()
H A Dvolumes.c1630 dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent); in find_free_dev_extent_start()
1709 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1718 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1766 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1871 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_add_dev_item()
2517 dev_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_finish_sprout()
2803 dev_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dev_item); in btrfs_update_device()
3158 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks()
3263 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); in insert_balance_item()
3741 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in __btrfs_balance()
[all …]
H A Dref-verify.c443 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()
H A Dreflink.c215 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent()
411 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
H A Dprops.c159 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in iterate_object_props()
H A Ddev-replace.c127 ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); in btrfs_init_dev_replace()
406 ptr = btrfs_item_ptr(eb, path->slots[0], in btrfs_run_dev_replace()
H A Drelocation.c1018 fi = btrfs_item_ptr(leaf, path->slots[0], in get_new_location()
1080 fi = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in replace_file_extents()
2880 ei = btrfs_item_ptr(eb, path->slots[0], in add_tree_block()
3053 ei = btrfs_item_ptr(leaf, i, struct btrfs_file_extent_item); in delete_v1_space_cache()
3333 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in relocate_block_group()
3473 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); in __insert_orphan_inode()
H A Ddelayed-inode.c777 data_ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_batch_insert_items()
819 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_delayed_item()
1041 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
H A Dfree-space-cache.c74 header = btrfs_item_ptr(leaf, path->slots[0], in __lookup_free_space_inode()
156 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __create_free_space_inode()
185 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()
1056 header = btrfs_item_ptr(leaf, path->slots[0], in update_cache_item()
H A Dioctl.c1127 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents()
2431 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree()
2522 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user()
2604 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_search_path_in_tree_user()
2799 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_info()
2892 rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref); in btrfs_ioctl_get_subvol_rootref()
H A Dinode.c200 ei = btrfs_item_ptr(leaf, path->slots[0], in insert_inline_extent()
1558 fi = btrfs_item_ptr(leaf, path->slots[0], in run_delalloc_nocow()
3321 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_read_locked_inode()
3551 inode_item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_update_inode_item()
4329 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
5304 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in fixup_tree_root_location()
5729 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_real_readdir()
6103 inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_new_inode()
6110 ref = btrfs_item_ptr(path->nodes[0], path->slots[0] + 1, in btrfs_new_inode()
6661 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_extent()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/tests/
H A 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