/openbmc/linux/fs/btrfs/ |
H A D | print-tree.c | 86 struct btrfs_extent_inline_ref *iref; in print_extent_item() local 120 iref = (struct btrfs_extent_inline_ref *)(info + 1); in print_extent_item() 122 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in print_extent_item() 125 ptr = (unsigned long)iref; in print_extent_item() 128 iref = (struct btrfs_extent_inline_ref *)ptr; in print_extent_item() 129 type = btrfs_extent_inline_ref_type(eb, iref); in print_extent_item() 130 offset = btrfs_extent_inline_ref_offset(eb, iref); in print_extent_item() 148 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in print_extent_item() 152 sref = (struct btrfs_shared_data_ref *)(iref + 1); in print_extent_item()
|
H A D | extent-tree.c | 344 struct btrfs_extent_inline_ref *iref, in btrfs_get_extent_inline_ref_type() argument 347 int type = btrfs_extent_inline_ref_type(eb, iref); in btrfs_get_extent_inline_ref_type() 348 u64 offset = btrfs_extent_inline_ref_offset(eb, iref); in btrfs_get_extent_inline_ref_type() 390 eb->start, (unsigned long)iref, type); in btrfs_get_extent_inline_ref_type() 632 struct btrfs_extent_inline_ref *iref) in extent_data_ref_count() argument 644 if (iref) { in extent_data_ref_count() 649 type = btrfs_get_extent_inline_ref_type(leaf, iref, BTRFS_REF_TYPE_DATA); in extent_data_ref_count() 652 ref1 = (struct btrfs_extent_data_ref *)(&iref->offset); in extent_data_ref_count() 655 ref2 = (struct btrfs_shared_data_ref *)(iref + 1); in extent_data_ref_count() 783 struct btrfs_extent_inline_ref *iref; in lookup_inline_extent_backref() local [all …]
|
H A D | export.c | 228 struct btrfs_inode_ref *iref; in btrfs_get_name() local 277 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name() 279 name_ptr = (unsigned long)(iref + 1); in btrfs_get_name() 280 name_len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_get_name()
|
H A D | tree-checker.c | 1430 struct btrfs_extent_inline_ref *iref; in check_extent_item() local 1440 if (unlikely(ptr + sizeof(*iref) > end)) { in check_extent_item() 1443 ptr, sizeof(*iref), end); in check_extent_item() 1446 iref = (struct btrfs_extent_inline_ref *)ptr; in check_extent_item() 1447 inline_type = btrfs_extent_inline_ref_type(leaf, iref); in check_extent_item() 1448 inline_offset = btrfs_extent_inline_ref_offset(leaf, iref); in check_extent_item() 1478 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item() 1515 sref = (struct btrfs_shared_data_ref *)(iref + 1); in check_extent_item() 1700 struct btrfs_inode_ref *iref; in check_inode_ref() local 1707 if (unlikely(btrfs_item_size(leaf, slot) <= sizeof(*iref))) { in check_inode_ref() [all …]
|
H A D | ref-verify.c | 437 struct btrfs_extent_inline_ref *iref; in process_extent_item() local 455 iref = (struct btrfs_extent_inline_ref *)(info + 1); in process_extent_item() 459 iref = (struct btrfs_extent_inline_ref *)(ei + 1); in process_extent_item() 462 ptr = (unsigned long)iref; in process_extent_item() 465 iref = (struct btrfs_extent_inline_ref *)ptr; in process_extent_item() 466 type = btrfs_extent_inline_ref_type(leaf, iref); in process_extent_item() 467 offset = btrfs_extent_inline_ref_offset(leaf, iref); in process_extent_item() 478 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in process_extent_item() 483 sref = (struct btrfs_shared_data_ref *)(iref + 1); in process_extent_item()
|
H A D | backref.c | 1070 struct btrfs_extent_inline_ref *iref; in add_inline_refs() local 1074 iref = (struct btrfs_extent_inline_ref *)ptr; in add_inline_refs() 1075 type = btrfs_get_extent_inline_ref_type(leaf, iref, in add_inline_refs() 1080 offset = btrfs_extent_inline_ref_offset(leaf, iref); in add_inline_refs() 1092 sdref = (struct btrfs_shared_data_ref *)(iref + 1); in add_inline_refs() 1109 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs() 2142 struct btrfs_inode_ref *iref; in btrfs_ref_to_path() local 2178 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path() 2180 name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_ref_to_path() 2181 name_off = (unsigned long)(iref + 1); in btrfs_ref_to_path() [all …]
|
H A D | extent-tree.h | 90 struct btrfs_extent_inline_ref *iref,
|
H A D | ioctl.c | 1840 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree() local 1878 iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree() 1879 len = btrfs_inode_ref_name_len(l, iref); in btrfs_search_path_in_tree() 1888 read_extent_buffer(l, ptr, (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree() 1918 struct btrfs_inode_ref *iref; in btrfs_search_path_in_tree_user() local 1963 iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref); in btrfs_search_path_in_tree_user() 1964 len = btrfs_inode_ref_name_len(leaf, iref); in btrfs_search_path_in_tree_user() 1974 (unsigned long)(iref + 1), len); in btrfs_search_path_in_tree_user()
|
H A D | send.c | 1000 struct btrfs_inode_ref *iref; in iterate_inode_ref() local 1032 elem_size = sizeof(*iref); in iterate_inode_ref() 1043 iref = (struct btrfs_inode_ref *)(ptr + cur); in iterate_inode_ref() 1044 name_len = btrfs_inode_ref_name_len(eb, iref); in iterate_inode_ref() 1045 name_off = (unsigned long)(iref + 1); in iterate_inode_ref() 1046 index = btrfs_inode_ref_index(eb, iref); in iterate_inode_ref() 2061 struct btrfs_inode_ref *iref; in get_first_ref() local 2062 iref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2064 len = btrfs_inode_ref_name_len(path->nodes[0], iref); in get_first_ref() 2066 (unsigned long)(iref + 1), in get_first_ref()
|
H A D | relocation.c | 3181 struct btrfs_extent_inline_ref *iref; in add_tree_block() local 3184 iref = (struct btrfs_extent_inline_ref *)ptr; in add_tree_block() 3185 type = btrfs_get_extent_inline_ref_type(eb, iref, in add_tree_block() 3190 owner = btrfs_extent_inline_ref_offset(eb, iref); in add_tree_block()
|
H A D | tree-log.c | 5250 struct btrfs_inode_ref *iref; in btrfs_check_ref_name_override() local 5252 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override() 5254 this_name_len = btrfs_inode_ref_name_len(eb, iref); in btrfs_check_ref_name_override() 5255 name_ptr = (unsigned long)(iref + 1); in btrfs_check_ref_name_override() 5256 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | subvolume.c | 14 struct btrfs_inode_ref iref; in get_subvol_name() local 42 dir = btrfs_lookup_inode_ref(&root, dir, &iref, tmp); in get_subvol_name() 47 ptr -= iref.name_len + 1; in get_subvol_name() 51 memcpy(ptr + 1, tmp, iref.name_len); in get_subvol_name()
|
/openbmc/qemu/hw/adc/ |
H A D | npcm7xx_adc.c | 99 ? s->iref : s->vref; in npcm7xx_adc_convert_done() 117 adc->iref); in npcm7xx_adc_calibrate() 119 adc->iref); in npcm7xx_adc_calibrate() 263 VMSTATE_UINT32(iref, NPCM7xxADCState), 271 DEFINE_PROP_UINT32("iref", NPCM7xxADCState, iref, NPCM7XX_ADC_DEFAULT_IREF),
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 21 struct btrfs_extent_inline_ref *iref; in insert_normal_tree_ref() local 26 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref() 55 iref = (struct btrfs_extent_inline_ref *)(block_info + 1); in insert_normal_tree_ref() 57 btrfs_set_extent_inline_ref_type(leaf, iref, in insert_normal_tree_ref() 59 btrfs_set_extent_inline_ref_offset(leaf, iref, parent); in insert_normal_tree_ref() 61 btrfs_set_extent_inline_ref_type(leaf, iref, BTRFS_TREE_BLOCK_REF_KEY); in insert_normal_tree_ref() 62 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_adc-test.c | 314 uint32_t iref = iref_list[j]; in test_calibrate() local 316 adc_calculate_output(R0_INPUT, iref), in test_calibrate() 317 adc_calculate_output(R1_INPUT, iref), in test_calibrate() 322 sprintf(buf, "-machine quanta-gsj -global npcm7xx-adc.iref=%u", iref); in test_calibrate() 338 expected_output = adc_calculate_output(input, iref); in test_calibrate()
|
/openbmc/qemu/include/hw/adc/ |
H A D | npcm7xx_adc.h | 60 uint32_t iref; member
|