Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1013 struct btrfs_extent_inline_ref *iref; in add_inline_refs() local
1017 iref = (struct btrfs_extent_inline_ref *)ptr; in add_inline_refs()
1018 type = btrfs_get_extent_inline_ref_type(leaf, iref, in add_inline_refs()
1023 offset = btrfs_extent_inline_ref_offset(leaf, iref); in add_inline_refs()
1035 sdref = (struct btrfs_shared_data_ref *)(iref + 1); in add_inline_refs()
1052 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs()
1896 struct btrfs_inode_ref *iref; in btrfs_ref_to_path() local
1932 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path()
1934 name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_ref_to_path()
1935 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()
Dioctl.c2697 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree() local
2735 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree()
2736 len = btrfs_inode_ref_name_len(l, iref); in btrfs_search_path_in_tree()
2745 read_extent_buffer(l, ptr, (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree()
2775 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree_user() local
2820 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user()
2821 len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_search_path_in_tree_user()
2831 (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree_user()
Dsend.c940 struct btrfs_inode_ref *iref; in iterate_inode_ref() local
972 elem_size = sizeof(*iref); in iterate_inode_ref()
983 iref = (struct btrfs_inode_ref *)(ptr + cur); in iterate_inode_ref()
984 name_len = btrfs_inode_ref_name_len(eb, iref); in iterate_inode_ref()
985 name_off = (unsigned long)(iref + 1); in iterate_inode_ref()
986 index = btrfs_inode_ref_index(eb, iref); in iterate_inode_ref()
1814 struct btrfs_inode_ref *iref; in get_first_ref() local
1815 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1817 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref()
1819 (unsigned long)(iref + 1), in get_first_ref()
Drelocation.c3188 struct btrfs_extent_inline_ref *iref; in add_tree_block() local
3191 iref = (struct btrfs_extent_inline_ref *)ptr; in add_tree_block()
3192 type = btrfs_get_extent_inline_ref_type(eb, iref, in add_tree_block()
3197 owner = btrfs_extent_inline_ref_offset(eb, iref); in add_tree_block()
Dtree-log.c5287 struct btrfs_inode_ref *iref; in btrfs_check_ref_name_override() local
5289 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override()
5291 this_name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_check_ref_name_override()
5292 name_ptr = (unsigned long)(iref + 1); in btrfs_check_ref_name_override()
5293 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override()
Dctree.h2865 struct btrfs_extent_inline_ref *iref,
/linux-6.1.9/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-6.1.9/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"]
654 azoteq,iref-enable: false