/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | linked_maps2.c | 10 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()
|
/linux-6.6.21/drivers/md/persistent-data/ |
D | dm-array.c | 102 entry += index * info->value_type.size; in element_at() 116 fn(info->value_type.context, element_at(info, ab, 0), nr_entries); in on_entries() 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() 643 struct dm_btree_value_type *bvt = &info->btree_info.value_type; in dm_array_info_init() 645 memcpy(&info->value_type, vt, sizeof(info->value_type)); in dm_array_info_init() 678 resize.max_entries = calc_max_entries(info->value_type.size, in array_resize() [all …]
|
D | dm-btree.c | 142 max_entries = calc_max_entries(info->value_type.size, block_size); in dm_btree_empty() 149 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty() 324 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() 463 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single() 851 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath() 1164 r = shadow_step(s, root, &s->info->value_type); in __btree_get_overwrite_leaf() 1277 r = btree_insert_raw(&spine, block, &info->value_type, in insert() 1288 r = insert_at(info->value_type.size, n, index, in insert() [all …]
|
D | dm-btree-remove.c | 608 &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()
|
D | dm-space-map-common.c | 208 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()
|
D | dm-array.h | 71 struct dm_btree_value_type value_type; member
|
D | dm-btree.h | 89 struct dm_btree_value_type value_type; member
|
/linux-6.6.21/drivers/md/ |
D | dm-thin-metadata.c | 487 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() 491 pmd->info.value_type.equal = data_block_equal; in __setup_btree_details() 498 pmd->tl_info.value_type.context = &pmd->bl_info; in __setup_btree_details() 499 pmd->tl_info.value_type.size = sizeof(__le64); 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() 502 pmd->tl_info.value_type.equal = subtree_equal; in __setup_btree_details() [all …]
|
/linux-6.6.21/tools/testing/selftests/powerpc/papr_attributes/ |
D | attr_test.c | 36 static int value_type(int id) in value_type() function 85 attr_type = value_type(id); in verify_energy_info()
|
/linux-6.6.21/security/tomoyo/ |
D | common.h | 530 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()
|
D | util.c | 290 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.6.21/kernel/bpf/ |
D | bpf_struct_ops.c | 205 st_ops->value_type = btf_type_by_id(btf, in bpf_struct_ops_init() 389 err = check_zero_holes(st_ops->value_type, value); in bpf_struct_ops_map_update_elem() 665 vt = st_ops->value_type; in bpf_struct_ops_map_alloc() 705 const struct btf_type *vt = st_ops->value_type; in bpf_struct_ops_map_mem_usage()
|
D | bloom_filter.c | 174 const struct btf_type *value_type) in bloom_map_check_btf() argument
|
D | local_storage.c | 359 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
|
D | lpm_trie.c | 716 const struct btf_type *value_type) in trie_check_btf() argument
|
D | btf.c | 3340 const char *value_type; in btf_find_graph_root() local 3347 value_type = btf_find_decl_tag_value(btf, pt, comp_idx, "contains:"); in btf_find_graph_root() 3348 if (!value_type) in btf_find_graph_root() 3350 node_field_name = strstr(value_type, ":"); in btf_find_graph_root() 3353 value_type = kstrndup(value_type, node_field_name - value_type, GFP_KERNEL | __GFP_NOWARN); in btf_find_graph_root() 3354 if (!value_type) in btf_find_graph_root() 3356 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root() 3357 kfree(value_type); in btf_find_graph_root()
|
D | arraymap.c | 491 const struct btf_type *value_type) in array_map_check_btf() argument 501 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
|
D | bpf_local_storage.c | 716 const struct btf_type *value_type) in bpf_local_storage_map_check_btf() argument
|
D | syscall.c | 1006 const struct btf_type *value_type) in map_check_no_btf() argument 1014 const struct btf_type *key_type, *value_type; in map_check_btf() local 1029 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf() 1030 if (!value_type || value_size != map->value_size) in map_check_btf() 1033 map->record = btf_parse_fields(btf, value_type, in map_check_btf() 1111 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
|
/linux-6.6.21/include/linux/ |
D | bpf_local_storage.h | 146 const struct btf_type *value_type);
|
D | bpf.h | 121 const struct btf_type *value_type); 565 const struct btf_type *value_type); 1633 const struct btf_type *value_type; member
|
/linux-6.6.21/include/uapi/linux/ |
D | hyperv.h | 357 __u32 value_type; member
|
/linux-6.6.21/drivers/hv/ |
D | hv_kvp.c | 419 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.6.21/drivers/crypto/intel/qat/qat_common/ |
D | icp_qat_uclo.h | 296 char value_type; member
|
/linux-6.6.21/drivers/net/wireless/legacy/ |
D | rndis_wlan.c | 854 int value_type, void *value) in rndis_set_config_parameter() argument 861 if (value_type == 0) in rndis_set_config_parameter() 863 else if (value_type == 2) in rndis_set_config_parameter() 884 if (value_type == 2) in rndis_set_config_parameter() 893 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter() 902 if (value_type == 2) { in rndis_set_config_parameter()
|