/linux/tools/testing/selftests/bpf/progs/ |
H A D | uptr_failure.c | 14 __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 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()
|
H A D | task_ls_uptr.c | 16 __type(value, struct value_type); 26 struct value_type *ptr; in on_enter()
|
/linux/drivers/md/persistent-data/ |
H A 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() [all...] |
H A 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()
|
H A 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()
|
H A D | dm-array.h | 71 struct dm_btree_value_type value_type; member 135 * Frees a whole array. The value_type's decrement operation will be called
|
H A D | dm-btree.h | 89 struct dm_btree_value_type value_type; member
|
/linux/drivers/md/ |
H A 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 in __setup_btree_details() [all...] |
/linux/tools/testing/selftests/powerpc/papr_attributes/ |
H A 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/tools/testing/selftests/bpf/ |
H A D | uptr_test_common.h | 32 struct value_type { struct 33 udatavalue_type global() argument 34 cgrpvalue_type global() argument 35 nestedvalue_type global() argument
|
/linux/security/tomoyo/ |
H A 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/include/linux/ |
H A D | bpf_local_storage.h | 178 const struct btf_type *value_type);
|
/linux/include/uapi/linux/ |
H A D | hyperv.h | 357 __u32 value_type; member
|
/linux/kernel/bpf/ |
H A D | bloom_filter.c | 186 const struct btf_type *value_type) in bloom_map_check_btf() argument
|
H A D | bpf_struct_ops.c | 390 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 D | local_storage.c | 359 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
|
H A D | arena.c | 212 const struct btf_type *key_type, const struct btf_type *value_type) in arena_map_check_btf() argument
|
H A D | lpm_trie.c | 757 const struct btf_type *value_type) in trie_check_btf() argument
|
H A D | arraymap.c | 531 const struct btf_type *value_type) in array_map_check_btf() argument 539 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
|
H A D | bpf_local_storage.c | 723 const struct btf_type *value_type) in bpf_local_storage_map_check_btf() argument
|
H A D | btf.c | 3450 const char *value_type; in btf_find_graph_root() local 3457 value_type = btf_find_decl_tag_value(btf, pt, comp_idx, "contains:"); in btf_find_graph_root() 3458 if (IS_ERR(value_type)) in btf_find_graph_root() 3460 node_field_name = strstr(value_type, ":"); in btf_find_graph_root() 3463 value_type = kstrndup(value_type, node_field_name - value_type, in btf_find_graph_root() 3465 if (!value_type) in btf_find_graph_root() 3467 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root() 3468 kfree(value_type); in btf_find_graph_root() [all...] |
H A D | syscall.c | 1211 const struct btf_type *value_type) in map_check_no_btf() argument 1219 const struct btf_type *key_type, *value_type; in map_check_btf() local 1234 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf() 1235 if (!value_type || value_size != map->value_size) in map_check_btf() 1238 map->record = btf_parse_fields(btf, value_type, in map_check_btf() 1325 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
|
/linux/drivers/hv/ |
H A 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/drivers/crypto/intel/qat/qat_common/ |
H A D | icp_qat_uclo.h | 304 char value_type; member
|