Home
last modified time | relevance | path

Searched refs:iref (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/fs/btrfs/
Dprint-tree.c83 struct btrfs_extent_inline_ref *iref; in print_extent_item() local
115 iref = (struct btrfs_extent_inline_ref *)(info + 1); in print_extent_item()
117 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in print_extent_item()
120 ptr = (unsigned long)iref; in print_extent_item()
123 iref = (struct btrfs_extent_inline_ref *)ptr; in print_extent_item()
124 type = btrfs_extent_inline_ref_type(eb, iref); in print_extent_item()
125 offset = btrfs_extent_inline_ref_offset(eb, iref); in print_extent_item()
143 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in print_extent_item()
147 sref = (struct btrfs_shared_data_ref *)(iref + 1); in print_extent_item()
Dextent-tree.c357 struct btrfs_extent_inline_ref *iref, in btrfs_get_extent_inline_ref_type() argument
360 int type = btrfs_extent_inline_ref_type(eb, iref); in btrfs_get_extent_inline_ref_type()
361 u64 offset = btrfs_extent_inline_ref_offset(eb, iref); in btrfs_get_extent_inline_ref_type()
402 eb->start, (unsigned long)iref, type); in btrfs_get_extent_inline_ref_type()
645 struct btrfs_extent_inline_ref *iref) in extent_data_ref_count() argument
658 if (iref) { in extent_data_ref_count()
663 type = btrfs_get_extent_inline_ref_type(leaf, iref, BTRFS_REF_TYPE_DATA); in extent_data_ref_count()
666 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count()
669 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count()
797 struct btrfs_extent_inline_ref *iref; in lookup_inline_extent_backref() local
[all …]
Dtree-checker.c1369 struct btrfs_extent_inline_ref *iref; in check_extent_item() local
1376 if (unlikely(ptr + sizeof(*iref) > end)) { in check_extent_item()
1379 ptr, sizeof(*iref), end); in check_extent_item()
1382 iref = (struct btrfs_extent_inline_ref *)ptr; in check_extent_item()
1383 inline_type = btrfs_extent_inline_ref_type(leaf, iref); in check_extent_item()
1384 inline_offset = btrfs_extent_inline_ref_offset(leaf, iref); in check_extent_item()
1413 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item()
1426 sref = (struct btrfs_shared_data_ref *)(iref + 1); in check_extent_item()
1556 struct btrfs_inode_ref *iref; in check_inode_ref() local
1563 if (unlikely(btrfs_item_size(leaf, slot) <= sizeof(*iref))) { in check_inode_ref()
[all …]
Dexport.c208 struct btrfs_inode_ref *iref; in btrfs_get_name() local
257 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
259 name_ptr = (unsigned long)(iref + 1); in btrfs_get_name()
260 name_len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_get_name()
Dbackref.c980 struct btrfs_extent_inline_ref *iref; in add_inline_refs() local
984 iref = (struct btrfs_extent_inline_ref *)ptr; in add_inline_refs()
985 type = btrfs_get_extent_inline_ref_type(leaf, iref, in add_inline_refs()
990 offset = btrfs_extent_inline_ref_offset(leaf, iref); in add_inline_refs()
1002 sdref = (struct btrfs_shared_data_ref *)(iref + 1); in add_inline_refs()
1019 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs()
1689 struct btrfs_inode_ref *iref; in btrfs_ref_to_path() local
1725 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path()
1727 name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_ref_to_path()
1728 name_off = (unsigned long)(iref + 1); in btrfs_ref_to_path()
[all …]
Dref-verify.c434 struct btrfs_extent_inline_ref *iref; in process_extent_item() local
452 iref = (struct btrfs_extent_inline_ref *)(info + 1); in process_extent_item()
456 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in process_extent_item()
459 ptr = (unsigned long)iref; in process_extent_item()
462 iref = (struct btrfs_extent_inline_ref *)ptr; in process_extent_item()
463 type = btrfs_extent_inline_ref_type(leaf, iref); in process_extent_item()
464 offset = btrfs_extent_inline_ref_offset(leaf, iref); in process_extent_item()
475 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in process_extent_item()
480 sref = (struct btrfs_shared_data_ref *)(iref + 1); in process_extent_item()
Dblock-group.h100 unsigned int iref:1; member
Dioctl.c2694 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree() local
2732 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree()
2733 len = btrfs_inode_ref_name_len(l, iref); in btrfs_search_path_in_tree()
2742 read_extent_buffer(l, ptr, (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree()
2772 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree_user() local
2817 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user()
2818 len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_search_path_in_tree_user()
2828 (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree_user()
Dsend.c913 struct btrfs_inode_ref *iref; in iterate_inode_ref() local
945 elem_size = sizeof(*iref); in iterate_inode_ref()
956 iref = (struct btrfs_inode_ref *)(ptr + cur); in iterate_inode_ref()
957 name_len = btrfs_inode_ref_name_len(eb, iref); in iterate_inode_ref()
958 name_off = (unsigned long)(iref + 1); in iterate_inode_ref()
959 index = btrfs_inode_ref_index(eb, iref); in iterate_inode_ref()
1786 struct btrfs_inode_ref *iref; in get_first_ref() local
1787 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1789 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref()
1791 (unsigned long)(iref + 1), in get_first_ref()
Drelocation.c3196 struct btrfs_extent_inline_ref *iref; in add_tree_block() local
3199 iref = (struct btrfs_extent_inline_ref *)ptr; in add_tree_block()
3200 type = btrfs_get_extent_inline_ref_type(eb, iref, in add_tree_block()
3205 owner = btrfs_extent_inline_ref_offset(eb, iref); in add_tree_block()
Dfree-space-cache.c129 if (!block_group->iref) { in lookup_free_space_inode()
131 block_group->iref = 1; in lookup_free_space_inode()
244 if (block_group->iref) { in btrfs_remove_free_space_inode()
245 block_group->iref = 0; in btrfs_remove_free_space_inode()
Dtree-log.c5337 struct btrfs_inode_ref *iref; in btrfs_check_ref_name_override() local
5339 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override()
5341 this_name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_check_ref_name_override()
5342 name_ptr = (unsigned long)(iref + 1); in btrfs_check_ref_name_override()
5343 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override()
Dblock-group.c3978 if (block_group->iref) in btrfs_put_block_group_cache()
3991 block_group->iref = 0; in btrfs_put_block_group_cache()
Dctree.h2736 struct btrfs_extent_inline_ref *iref,
/linux-5.19.10/fs/btrfs/tests/
Dqgroup-tests.c19 struct btrfs_extent_inline_ref *iref; in insert_normal_tree_ref() local
24 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref()
53 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref()
55 btrfs_set_extent_inline_ref_type(leaf, iref, in insert_normal_tree_ref()
57 btrfs_set_extent_inline_ref_offset(leaf, iref, parent); in insert_normal_tree_ref()
59 btrfs_set_extent_inline_ref_type(leaf, iref, BTRFS_TREE_BLOCK_REF_KEY); in insert_normal_tree_ref()
60 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
/linux-5.19.10/Documentation/devicetree/bindings/input/
Dazoteq,iqs7222.yaml234 azoteq,iref-enable:
239 azoteq,iref-level:
245 azoteq,iref-trim:
252 azoteq,iref-level: ["azoteq,iref-enable"]
253 azoteq,iref-trim: ["azoteq,iref-enable"]
665 azoteq,iref-enable: false