| /linux/tools/testing/selftests/bpf/progs/ |
| 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()
|
| /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() 1288 r = insert_at(info->value_type.size, n, index, in insert() [all …]
|
| H A D | dm-btree-remove.c | 616 &info->value_type : &le64_vt), in dm_btree_remove() 629 if (info->value_type.dec) in dm_btree_remove() 630 info->value_type.dec(info->value_type.context, in dm_btree_remove() 723 r = remove_nearest(&spine, info, &info->value_type, in remove_one() 740 if (info->value_type.dec) in remove_one() 741 info->value_type.dec(info->value_type.context, in remove_one()
|
| H A D | dm-array.h | 71 struct dm_btree_value_type value_type; member
|
| 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 | 488 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details() 489 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details() 490 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details() 491 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details() 492 pmd->info.value_type.equal = data_block_equal; in __setup_btree_details() 499 pmd->tl_info.value_type.context = &pmd->bl_info; in __setup_btree_details() 500 pmd->tl_info.value_type.size = sizeof(__le64); in __setup_btree_details() 501 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details() 502 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details() 503 pmd->tl_info.value_type.equal = subtree_equal; in __setup_btree_details() [all …]
|
| H A D | dm-era-target.c | 413 struct dm_btree_value_type *vt = &md->writeset_tree_info.value_type; in setup_writeset_tree_info()
|
| /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/security/tomoyo/ |
| H A D | common.h | 530 u8 value_type[2]; member 1253 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union() 1254 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
|
| 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()
|
| H A D | common.c | 431 u8 min_type = ptr->value_type[0]; in tomoyo_print_number_union_nospace() 432 const u8 max_type = ptr->value_type[1]; in tomoyo_print_number_union_nospace()
|
| /linux/kernel/bpf/ |
| H A D | bpf_insn_array.c | 104 const struct btf_type *value_type) in insn_array_check_btf() argument 109 if (!btf_type_is_i64(value_type)) in insn_array_check_btf()
|
| H A D | bloom_filter.c | 185 const struct btf_type *value_type) in bloom_map_check_btf() argument
|
| H A D | bpf_struct_ops.c | 416 st_ops_desc->value_type = btf_type_by_id(btf, value_id); in bpf_struct_ops_desc_init() 751 err = check_zero_holes(st_map->btf, st_ops_desc->value_type, value); in bpf_struct_ops_map_update_elem() 1126 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc() 1181 const struct btf_type *vt = st_ops_desc->value_type; in bpf_struct_ops_map_mem_usage()
|
| H A D | local_storage.c | 371 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
|
| H A D | arraymap.c | 584 const struct btf_type *value_type) in array_map_check_btf() argument 593 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
|
| H A D | bpf_local_storage.c | 721 const struct btf_type *value_type) in bpf_local_storage_map_check_btf() argument
|
| H A D | btf.c | 3638 const char *value_type; in btf_find_graph_root() local 3645 value_type = btf_find_decl_tag_value(btf, pt, comp_idx, "contains:"); in btf_find_graph_root() 3646 if (IS_ERR(value_type)) in btf_find_graph_root() 3648 node_field_name = strstr(value_type, ":"); in btf_find_graph_root() 3651 value_type = kstrndup(value_type, node_field_name - value_type, in btf_find_graph_root() 3653 if (!value_type) in btf_find_graph_root() 3655 id = btf_find_by_name_kind(btf, value_type, BTF_KIND_STRUCT); in btf_find_graph_root() 3656 kfree(value_type); in btf_find_graph_root()
|
| H A D | syscall.c | 1250 const struct btf_type *value_type) in map_check_no_btf() argument 1258 const struct btf_type *key_type, *value_type; in map_check_btf() local 1273 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf() 1274 if (!value_type || value_size != map->value_size) in map_check_btf() 1277 map->record = btf_parse_fields(btf, value_type, in map_check_btf() 1369 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
|
| H A D | arena.c | 413 const struct btf_type *key_type, const struct btf_type *value_type) in arena_map_check_btf() argument
|
| H A D | hashtab.c | 544 const struct btf_type *key_type, const struct btf_type *value_type) in htab_map_check_btf() 3137 const struct btf_type *value_type) in rhtab_map_free_internal_structs() 529 htab_map_check_btf(struct bpf_map * map,const struct btf * btf,const struct btf_type * key_type,const struct btf_type * value_type) htab_map_check_btf() argument 3122 rhtab_map_check_btf(struct bpf_map * map,const struct btf * btf,const struct btf_type * key_type,const struct btf_type * value_type) rhtab_map_check_btf() argument
|
| /linux/include/linux/ |
| H A D | bpf_local_storage.h | 178 const struct btf_type *value_type);
|
| H A D | bpf.h | 134 const struct btf_type *value_type); 698 const struct btf_type *value_type); 2109 * is exclusive with the @type, @type_id, @value_type, and 2177 const struct btf_type *value_type; in bpf_prog_get_recursion_context() 2140 const struct btf_type *value_type; global() member
|
| /linux/include/uapi/linux/ |
| H A D | hyperv.h | 357 __u32 value_type; member
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | task_local_storage.c | 266 struct value_type value = {}; in test_uptr_basic() 385 struct value_type value = {}; in test_uptr_across_pages()
|