Home
last modified time | relevance | path

Searched refs:btf_value_type_id (Results 1 – 22 of 22) sorted by relevance

/linux/tools/lib/bpf/
H A Dlibbpf_probes.c286 __u32 btf_key_type_id = 0, btf_value_type_id = 0; in probe_map_create() local
317 btf_value_type_id = 3; in probe_map_create()
385 opts.btf_value_type_id = btf_value_type_id; in probe_map_create()
H A Dgen_loader.c471 attr.btf_value_type_id = map_attr->btf_value_type_id; in bpf_gen__map_create()
474 attr.map_name, map_idx, map_type, attr.btf_value_type_id); in bpf_gen__map_create()
477 if (attr.btf_value_type_id) in bpf_gen__map_create()
502 attr.btf_value_type_id); in bpf_gen__map_create()
H A Dbpf.h45 __u32 btf_value_type_id; member
H A Dlibbpf.c563 __u32 btf_value_type_id; member
1388 map->btf_value_type_id = type_id; in init_struct_ops_maps()
1874 if (!map->btf_value_type_id) in map_is_mmapable()
4770 map->btf_value_type_id = id; in map_fill_btf_type_info()
4885 map->btf_value_type_id = info.btf_value_type_id; in bpf_map__reuse_fd()
5165 create_attr.btf_value_type_id = map->btf_value_type_id; in bpf_object__create_map()
5202 create_attr.btf_value_type_id = 0; in bpf_object__create_map()
5204 map->btf_value_type_id = 0; in bpf_object__create_map()
5207 create_attr.btf_value_type_id = 0; in bpf_object__create_map()
5240 map->btf_value_type_id = 0; in bpf_object__create_map()
[all …]
H A Dbpf.c195 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0); in bpf_map_create()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c129 create_opts.btf_value_type_id = bpf_map__btf_value_type_id(inner_map); in __setup()
/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c115 .btf_value_type_id = 2, in load_prog()
/linux/kernel/bpf/
H A Dlocal_storage.c432 btf_type_seq_show(map->btf, map->btf_value_type_id, in cgroup_storage_seq_show_elem()
439 btf_type_seq_show(map->btf, map->btf_value_type_id, in cgroup_storage_seq_show_elem()
H A Darraymap.c496 btf_type_seq_show(map->btf, map->btf_value_type_id, value, m); in array_map_seq_show_elem()
516 btf_type_seq_show(map->btf, map->btf_value_type_id, in percpu_array_map_seq_show_elem()
994 btf_type_seq_show(map->btf, map->btf_value_type_id, in prog_array_map_seq_show_elem()
H A Dsyscall.c1219 attr->btf_key_type_id || attr->btf_value_type_id) in map_create()
1221 } else if (attr->btf_key_type_id && !attr->btf_value_type_id) { in map_create()
1351 if (attr->btf_key_type_id || attr->btf_value_type_id || in map_create()
1373 if (attr->btf_value_type_id) { in map_create()
1375 attr->btf_value_type_id); in map_create()
1381 map->btf_value_type_id = attr->btf_value_type_id; in map_create()
4899 info.btf_value_type_id = map->btf_value_type_id; in bpf_map_get_info_by_fd()
H A Dbpf_local_storage.c678 !attr->btf_key_type_id || !attr->btf_value_type_id) in bpf_local_storage_map_alloc_check()
H A Dhashtab.c1588 btf_type_seq_show(map->btf, map->btf_value_type_id, value, m); in htab_map_seq_show_elem()
2451 btf_type_seq_show(map->btf, map->btf_value_type_id, in htab_percpu_map_seq_show_elem()
/linux/tools/bpf/bpftool/
H A Dbtf.c764 root_type_ids[root_type_cnt++] = info.btf_value_type_id; in do_dump()
770 root_type_ids[root_type_cnt++] = info.btf_value_type_id; in do_dump()
774 root_type_ids[root_type_cnt++] = info.btf_value_type_id; in do_dump()
H A Dmap.c90 : map_info->btf_value_type_id; in do_dump_btf()
803 } else if (info->btf_value_type_id) { in get_map_kv_btf()
H A Dprog.c271 !map_info->btf_value_type_id || in find_metadata()
328 t_datasec = btf__type_by_id(btf, map_info.btf_value_type_id); in show_prog_metadata()
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c807 .btf_value_type_id = 3, in create_map_spin_lock()
826 .btf_value_type_id = 3, in create_sk_storage_map()
845 .btf_value_type_id = 5, in create_map_timer()
864 .btf_value_type_id = 14, in create_map_kptr()
/linux/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c25 .btf_value_type_id = 3,
/linux/include/uapi/linux/
H A Dbpf.h1475 __u32 btf_value_type_id; /* BTF type_id of the value */ member
6607 __u32 btf_value_type_id; member
/linux/tools/include/uapi/linux/
H A Dbpf.h1475 __u32 btf_value_type_id; /* BTF type_id of the value */ member
6607 __u32 btf_value_type_id; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4397 opts.btf_value_type_id = test->value_type_id; in do_test_raw()
4626 opts.btf_value_type_id = 2; in test_btf_id()
4637 map_info.btf_key_type_id != 1 || map_info.btf_value_type_id != 2, in test_btf_id()
4640 map_info.btf_value_type_id)) { in test_btf_id()
5450 opts.btf_value_type_id = test->value_type_id; in do_test_pprint()
/linux/include/linux/
H A Dbpf.h275 u32 btf_value_type_id; member
579 return (map->btf_value_type_id || map->btf_vmlinux_value_type_id) && in bpf_map_support_seq_show()
/linux/Documentation/bpf/
H A Dbtf.rst609 __u32 btf_value_type_id; /* BTF type_id of the value */