/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 286 __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 D | gen_loader.c | 471 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 D | bpf.h | 45 __u32 btf_value_type_id; member
|
H A D | libbpf.c | 563 __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 D | bpf.c | 195 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 D | bench_local_storage.c | 129 create_opts.btf_value_type_id = bpf_map__btf_value_type_id(inner_map); in __setup()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 115 .btf_value_type_id = 2, in load_prog()
|
/linux/kernel/bpf/ |
H A D | local_storage.c | 432 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 D | arraymap.c | 496 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 D | syscall.c | 1219 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 D | bpf_local_storage.c | 678 !attr->btf_key_type_id || !attr->btf_value_type_id) in bpf_local_storage_map_alloc_check()
|
H A D | hashtab.c | 1588 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 D | btf.c | 764 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 D | map.c | 90 : 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 D | prog.c | 271 !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 D | test_verifier.c | 807 .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 D | sk_storage_map.c | 25 .btf_value_type_id = 3,
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1475 __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 D | bpf.h | 1475 __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 D | btf.c | 4397 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 D | bpf.h | 275 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 D | btf.rst | 609 __u32 btf_value_type_id; /* BTF type_id of the value */
|