/linux/tools/testing/selftests/bpf/progs/ |
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()
|
/linux/drivers/md/persistent-data/ |
A D | dm-array.c | 101 entry += index * info->value_type.size; in element_at() 122 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries() 133 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries() 163 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock() 177 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock() 200 struct dm_btree_value_type *vt = &info->value_type; in trim_ablock() 641 memcpy(&info->value_type, vt, sizeof(info->value_type)); in dm_array_info_init() 707 struct dm_btree_value_type *vt = &info->value_type; in populate_ablock_with_values() 793 info->value_type.size); in dm_array_get_value() 810 struct dm_btree_value_type *vt = &info->value_type; in array_set_value() [all …]
|
A D | dm-btree.c | 319 if (info->value_type.dec) in dm_btree_del() 320 info->value_type.dec(info->value_type.context, in dm_btree_del() 385 size = info->value_type.size; in dm_btree_lookup() 840 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath() 1275 r = insert_at(info->value_type.size, n, index, in insert() 1283 if (info->value_type.dec && in insert() 1284 (!info->value_type.equal || in insert() 1285 !info->value_type.equal( in insert() 1286 info->value_type.context, in insert() 1289 info->value_type.dec(info->value_type.context, in insert() [all …]
|
A D | dm-btree-remove.c | 532 &info->value_type : &le64_vt), in dm_btree_remove() 545 if (info->value_type.dec) in dm_btree_remove() 546 info->value_type.dec(info->value_type.context, in dm_btree_remove() 638 r = remove_nearest(&spine, info, &info->value_type, in remove_one() 655 if (info->value_type.dec) in remove_one() 656 info->value_type.dec(info->value_type.context, in remove_one()
|
A D | dm-space-map-common.c | 207 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 208 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 209 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 210 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 214 ll->ref_count_info.value_type.size = sizeof(uint32_t); in sm_ll_init() 215 ll->ref_count_info.value_type.inc = NULL; in sm_ll_init() 216 ll->ref_count_info.value_type.dec = NULL; in sm_ll_init() 217 ll->ref_count_info.value_type.equal = NULL; in sm_ll_init()
|
A D | dm-array.h | 70 struct dm_btree_value_type value_type; member
|
A D | dm-btree.h | 88 struct dm_btree_value_type value_type; member
|
/linux/drivers/md/ |
A D | dm-thin-metadata.c | 481 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details() 482 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details() 483 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details() 484 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details() 494 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details() 495 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details() 502 pmd->bl_info.value_type.inc = data_block_inc; in __setup_btree_details() 508 pmd->details_info.value_type.context = NULL; in __setup_btree_details() 510 pmd->details_info.value_type.inc = NULL; in __setup_btree_details() 511 pmd->details_info.value_type.dec = NULL; in __setup_btree_details() [all …]
|
/linux/tools/perf/include/bpf/ |
A D | bpf.h | 43 #define pid_map(name, value_type) bpf_map(name, HASH, pid_t, value_type, 64) argument
|
/linux/security/tomoyo/ |
A D | common.h | 530 u8 value_type[2]; member 1251 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union() 1252 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
|
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()
|
A D | common.c | 437 u8 min_type = ptr->value_type[0]; in tomoyo_print_number_union_nospace() 438 const u8 max_type = ptr->value_type[1]; in tomoyo_print_number_union_nospace()
|
/linux/kernel/bpf/ |
A D | bpf_struct_ops.c | 195 st_ops->value_type = btf_type_by_id(btf, in bpf_struct_ops_init() 352 err = check_zero_holes(st_ops->value_type, value); in bpf_struct_ops_map_update_elem() 579 vt = st_ops->value_type; in bpf_struct_ops_map_alloc()
|
A D | bloom_filter.c | 184 const struct btf_type *value_type) in bloom_map_check_btf() argument
|
A D | syscall.c | 765 const struct btf_type *value_type) in map_check_no_btf() argument 773 const struct btf_type *key_type, *value_type; in map_check_btf() local 788 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf() 789 if (!value_type || value_size != map->value_size) in map_check_btf() 792 map->spin_lock_off = btf_find_spin_lock(btf, value_type); in map_check_btf() 813 map->timer_off = btf_find_timer(btf, value_type); in map_check_btf() 824 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
|
A D | bpf_local_storage.c | 595 const struct btf_type *value_type) in bpf_local_storage_map_check_btf() argument
|
A D | arraymap.c | 458 const struct btf_type *value_type) in array_map_check_btf() argument 468 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
|
A D | local_storage.c | 360 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
|
A D | lpm_trie.c | 715 const struct btf_type *value_type) in trie_check_btf() argument
|
/linux/include/linux/ |
A D | bpf_local_storage.h | 135 const struct btf_type *value_type);
|
A D | bpf.h | 103 const struct btf_type *value_type); 293 const struct btf_type *value_type); 998 const struct btf_type *value_type; member
|
/linux/include/uapi/linux/ |
A D | hyperv.h | 346 __u32 value_type; member
|
/linux/drivers/hv/ |
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/qat/qat_common/ |
A D | icp_qat_uclo.h | 295 char value_type; member
|
/linux/drivers/net/wireless/ |
A D | rndis_wlan.c | 859 int value_type, void *value) in rndis_set_config_parameter() argument 866 if (value_type == 0) in rndis_set_config_parameter() 868 else if (value_type == 2) in rndis_set_config_parameter() 889 if (value_type == 2) in rndis_set_config_parameter() 898 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter() 907 if (value_type == 2) { in rndis_set_config_parameter()
|