Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
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()
/linux/drivers/md/persistent-data/
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 …]
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 …]
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()
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()
A Ddm-array.h71 struct dm_btree_value_type value_type; member
A Ddm-btree.h89 struct dm_btree_value_type value_type; member
/linux/drivers/md/
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/tools/testing/selftests/powerpc/papr_attributes/
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/security/tomoyo/
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()
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/include/linux/
A Dbpf_local_storage.h172 const struct btf_type *value_type);
A Dbpf.h127 const struct btf_type *value_type);
587 const struct btf_type *value_type);
1783 const struct btf_type *value_type; member
/linux/include/uapi/linux/
A Dhyperv.h357 __u32 value_type; member
/linux/kernel/bpf/
A Dbpf_struct_ops.c371 st_ops_desc->value_type = btf_type_by_id(btf, value_id); in bpf_struct_ops_desc_init()
611 err = check_zero_holes(st_map->btf, st_ops_desc->value_type, value); in bpf_struct_ops_map_update_elem()
940 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()
991 const struct btf_type *vt = st_ops_desc->value_type; in bpf_struct_ops_map_mem_usage()
A Dbloom_filter.c186 const struct btf_type *value_type) in bloom_map_check_btf() argument
A Dlocal_storage.c359 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
A Darena.c202 const struct btf_type *key_type, const struct btf_type *value_type) in arena_map_check_btf() argument
A Dlpm_trie.c729 const struct btf_type *value_type) in trie_check_btf() argument
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()
A Dbtf.c3428 const char *value_type; in btf_find_graph_root() local
3435 value_type = btf_find_decl_tag_value(btf, pt, comp_idx, "contains:"); in btf_find_graph_root()
3436 if (IS_ERR(value_type)) in btf_find_graph_root()
3438 node_field_name = strstr(value_type, ":"); in btf_find_graph_root()
3441 value_type = kstrndup(value_type, node_field_name - value_type, GFP_KERNEL | __GFP_NOWARN); in btf_find_graph_root()
3442 if (!value_type) in btf_find_graph_root()
3444 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root()
3445 kfree(value_type); in btf_find_graph_root()
A Dbpf_local_storage.c690 const struct btf_type *value_type) in bpf_local_storage_map_check_btf() argument
A Dsyscall.c1079 const struct btf_type *value_type) in map_check_no_btf() argument
1087 const struct btf_type *key_type, *value_type; in map_check_btf() local
1102 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf()
1103 if (!value_type || value_size != map->value_size) in map_check_btf()
1106 map->record = btf_parse_fields(btf, value_type, in map_check_btf()
1186 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
/linux/drivers/hv/
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/drivers/crypto/intel/qat/qat_common/
A Dicp_qat_uclo.h296 char value_type; member

Completed in 106 milliseconds

12