Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Duptr_failure.c14 __type(value, struct value_type);
22 struct value_type *v; in uptr_write()
39 struct value_type *v; in uptr_write_nested()
56 struct value_type *v; in uptr_no_null_check()
74 struct value_type *v; in uptr_kptr_xchg()
91 struct value_type *v; in uptr_obj_new()
H A Dlinked_maps2.c10 typedef struct my_value { long x; } value_type; typedef
15 __type(value, value_type);
44 value_type val_struct = { .x = 2000 }; in BPF_PROG()
59 value_type *value_struct; in BPF_PROG()
H A Dtask_ls_uptr.c16 __type(value, struct value_type);
26 struct value_type *ptr; in on_enter()
/linux-6.15/drivers/md/persistent-data/
H A Ddm-array.c102 entry += index * info->value_type.size; in element_at()
124 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries()
135 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries()
165 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock()
179 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock()
202 struct dm_btree_value_type *vt = &info->value_type; in trim_ablock()
645 memcpy(&info->value_type, vt, sizeof(info->value_type)); in dm_array_info_init()
713 struct dm_btree_value_type *vt = &info->value_type; in populate_ablock_with_values()
799 info->value_type.size); in dm_array_get_value()
816 struct dm_btree_value_type *vt = &info->value_type; in array_set_value()
[all …]
H A Ddm-btree.c324 if (info->value_type.dec) in dm_btree_del()
325 info->value_type.dec(info->value_type.context, in dm_btree_del()
390 size = info->value_type.size; in dm_btree_lookup()
851 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath()
1288 r = insert_at(info->value_type.size, n, index, in insert()
1296 if (info->value_type.dec && in insert()
1297 (!info->value_type.equal || in insert()
1298 !info->value_type.equal( in insert()
1299 info->value_type.context, in insert()
1302 info->value_type.dec(info->value_type.context, in insert()
[all …]
H A Ddm-btree-remove.c608 &info->value_type : &le64_vt), in dm_btree_remove()
621 if (info->value_type.dec) in dm_btree_remove()
622 info->value_type.dec(info->value_type.context, in dm_btree_remove()
715 r = remove_nearest(&spine, info, &info->value_type, in remove_one()
732 if (info->value_type.dec) in remove_one()
733 info->value_type.dec(info->value_type.context, in remove_one()
H A Ddm-space-map-common.c208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
209 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
210 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
211 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
215 ll->ref_count_info.value_type.size = sizeof(uint32_t); in sm_ll_init()
216 ll->ref_count_info.value_type.inc = NULL; in sm_ll_init()
217 ll->ref_count_info.value_type.dec = NULL; in sm_ll_init()
218 ll->ref_count_info.value_type.equal = NULL; in sm_ll_init()
H A Ddm-array.h71 struct dm_btree_value_type value_type; member
H A Ddm-btree.h89 struct dm_btree_value_type value_type; member
/linux-6.15/drivers/md/
H A Ddm-thin-metadata.c487 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details()
488 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details()
489 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details()
490 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details()
500 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details()
501 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details()
508 pmd->bl_info.value_type.inc = data_block_inc; in __setup_btree_details()
514 pmd->details_info.value_type.context = NULL; in __setup_btree_details()
516 pmd->details_info.value_type.inc = NULL; in __setup_btree_details()
517 pmd->details_info.value_type.dec = NULL; in __setup_btree_details()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c36 static int value_type(int id) in value_type() function
85 attr_type = value_type(id); in verify_energy_info()
/linux-6.15/tools/testing/selftests/bpf/
H A Duptr_test_common.h32 struct value_type { struct
/linux-6.15/security/tomoyo/
H A Dcommon.h530 u8 value_type[2]; member
1248 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union()
1249 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
H A Dutil.c290 ptr->value_type[0] = type; in tomoyo_parse_number_union()
293 ptr->value_type[1] = type; in tomoyo_parse_number_union()
302 ptr->value_type[1] = type; in tomoyo_parse_number_union()
/linux-6.15/include/linux/
H A Dbpf_local_storage.h178 const struct btf_type *value_type);
/linux-6.15/include/uapi/linux/
H A Dhyperv.h357 __u32 value_type; member
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_storage.c259 struct value_type value = {}; in test_uptr_basic()
378 struct value_type value = {}; in test_uptr_across_pages()
/linux-6.15/kernel/bpf/
H A Dbloom_filter.c186 const struct btf_type *value_type) in bloom_map_check_btf() argument
H A Dbpf_struct_ops.c390 st_ops_desc->value_type = btf_type_by_id(btf, value_id); in bpf_struct_ops_desc_init()
701 err = check_zero_holes(st_map->btf, st_ops_desc->value_type, value); in bpf_struct_ops_map_update_elem()
1069 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()
1124 const struct btf_type *vt = st_ops_desc->value_type; in bpf_struct_ops_map_mem_usage()
H A Darena.c212 const struct btf_type *key_type, const struct btf_type *value_type) in arena_map_check_btf() argument
H A Dlocal_storage.c359 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
H A Dlpm_trie.c757 const struct btf_type *value_type) in trie_check_btf() argument
H A Darraymap.c531 const struct btf_type *value_type) in array_map_check_btf() argument
541 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
/linux-6.15/drivers/hv/
H A Dhv_kvp.c419 switch (in_msg->body.kvp_set.data.value_type) { in kvp_send_key()
616 kvp_data->value_type = REG_SZ; /* all our values are strings */ in kvp_respond_to_host()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_uclo.h288 char value_type; member

12