/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | linked_maps2.c | 10 typedef struct my_value { long x; } value_type; typedef in typeref:struct:my_value 15 __type(value, value_type); 44 value_type val_struct = { .x = 2000 }; 59 value_type *value_struct;
|
/linux-master/tools/testing/selftests/powerpc/papr_attributes/ |
H A D | attr_test.c | 36 static int value_type(int id) function 85 attr_type = value_type(id);
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-array.c | 102 entry += index * info->value_type.size; 108 * Utility function that calls one of the value_type methods on every value 116 fn(info->value_type.context, element_at(info, ab, 0), nr_entries); 124 struct dm_btree_value_type *vt = &info->value_type; 135 struct dm_btree_value_type *vt = &info->value_type; 165 (*ab)->value_size = cpu_to_le32(info->value_type.size); 172 * cause an increment of the value_type. new_nr must always be more than 179 struct dm_btree_value_type *vt = &info->value_type; 202 struct dm_btree_value_type *vt = &info->value_type; 572 * These are the value_type function [all...] |
H A D | dm-array.h | 71 struct dm_btree_value_type value_type; member in struct:dm_array_info 135 * Frees a whole array. The value_type's decrement operation will be called
|
H A D | dm-btree.c | 142 max_entries = calc_max_entries(info->value_type.size, block_size); 149 n->header.value_size = cpu_to_le32(info->value_type.size); 324 if (info->value_type.dec) 325 info->value_type.dec(info->value_type.context, 390 size = info->value_type.size; 463 memcpy(value_le, value_ptr(n, i), info->value_type.size); 851 sizeof(__le64) : s->info->value_type.size; 1164 r = shadow_step(s, root, &s->info->value_type); 1277 r = btree_insert_raw(&spine, block, &info->value_type, [all...] |
H A D | dm-btree.h | 89 struct dm_btree_value_type value_type; member in struct:dm_btree_info
|
H A D | dm-btree-remove.c | 608 &info->value_type : &le64_vt), 621 if (info->value_type.dec) 622 info->value_type.dec(info->value_type.context, 715 r = remove_nearest(&spine, info, &info->value_type, 732 if (info->value_type.dec) 733 info->value_type.dec(info->value_type.context,
|
H A D | dm-space-map-common.c | 208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); 209 ll->bitmap_info.value_type.inc = NULL; 210 ll->bitmap_info.value_type.dec = NULL; 211 ll->bitmap_info.value_type.equal = NULL; 215 ll->ref_count_info.value_type.size = sizeof(uint32_t); 216 ll->ref_count_info.value_type.inc = NULL; 217 ll->ref_count_info.value_type.dec = NULL; 218 ll->ref_count_info.value_type.equal = NULL;
|
/linux-master/drivers/md/ |
H A D | dm-thin-metadata.c | 487 pmd->info.value_type.context = pmd->data_sm; 488 pmd->info.value_type.size = sizeof(__le64); 489 pmd->info.value_type.inc = data_block_inc; 490 pmd->info.value_type.dec = data_block_dec; 491 pmd->info.value_type.equal = data_block_equal; 498 pmd->tl_info.value_type.context = &pmd->bl_info; 499 pmd->tl_info.value_type.size = sizeof(__le64); 500 pmd->tl_info.value_type.inc = subtree_inc; 501 pmd->tl_info.value_type.dec = subtree_dec; 502 pmd->tl_info.value_type [all...] |
/linux-master/include/uapi/linux/ |
H A D | hyperv.h | 357 __u32 value_type; member in struct:hv_kvp_exchg_msg_value
|
/linux-master/include/linux/ |
H A D | bpf_local_storage.h | 172 const struct btf_type *value_type);
|
H A D | bpf.h | 127 const struct btf_type *value_type); 576 const struct btf_type *value_type); 1678 * is exclusive with the @type, @type_id, @value_type, and 1702 * @value_type: Value type. 1744 const struct btf_type *value_type; member in struct:bpf_struct_ops_desc
|
/linux-master/security/tomoyo/ |
H A D | common.h | 530 u8 value_type[2]; member in struct:tomoyo_number_union 1248 a->group == b->group && a->value_type[0] == b->value_type[0] && 1249 a->value_type[1] == b->value_type[1];
|
H A D | util.c | 290 ptr->value_type[0] = type; 293 ptr->value_type[1] = type; 302 ptr->value_type[1] = type;
|
/linux-master/kernel/bpf/ |
H A D | bpf_struct_ops.c | 369 st_ops_desc->value_type = btf_type_by_id(btf, value_id); 609 err = check_zero_holes(st_map->btf, st_ops_desc->value_type, value); 936 vt = st_ops_desc->value_type; 987 const struct btf_type *vt = st_ops_desc->value_type;
|
H A D | bloom_filter.c | 186 const struct btf_type *value_type) 183 bloom_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | local_storage.c | 359 const struct btf_type *value_type) 356 cgroup_storage_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | bpf_local_storage.c | 690 const struct btf_type *value_type) 687 bpf_local_storage_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | lpm_trie.c | 716 const struct btf_type *value_type) 713 trie_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | arena.c | 202 const struct btf_type *key_type, const struct btf_type *value_type) 201 arena_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | arraymap.c | 491 const struct btf_type *value_type) 501 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) 488 array_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
H A D | btf.c | 3408 const char *value_type; local 3415 value_type = btf_find_decl_tag_value(btf, pt, comp_idx, "contains:"); 3416 if (IS_ERR(value_type)) 3418 node_field_name = strstr(value_type, ":"); 3421 value_type = kstrndup(value_type, node_field_name - value_type, GFP_KERNEL | __GFP_NOWARN); 3422 if (!value_type) 3424 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); 3425 kfree(value_type); [all...] |
H A D | syscall.c | 1059 const struct btf_type *value_type) 1067 const struct btf_type *key_type, *value_type; local 1082 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); 1083 if (!value_type || value_size != map->value_size) 1086 map->record = btf_parse_fields(btf, value_type, 1165 ret = map->ops->map_check_btf(map, btf, key_type, value_type); 1056 map_check_no_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
|
/linux-master/drivers/hv/ |
H A D | hv_kvp.c | 419 switch (in_msg->body.kvp_set.data.value_type) { 616 kvp_data->value_type = REG_SZ; /* all our values are strings */
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | icp_qat_uclo.h | 296 char value_type; member in struct:icp_qat_uof_init_regsym
|