/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_str.c | 33 id = btf__find_by_name_kind(btf, "bpf_attach_type", BTF_KIND_ENUM); in test_libbpf_bpf_attach_type_str() 78 id = btf__find_by_name_kind(btf, "bpf_link_type", BTF_KIND_ENUM); in test_libbpf_bpf_link_type_str() 123 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM); in test_libbpf_bpf_map_type_str() 173 id = btf__find_by_name_kind(btf, "bpf_prog_type", BTF_KIND_ENUM); in test_libbpf_bpf_prog_type_str()
|
H A D | module_fentry_shadow.c | 90 btf_id[0] = btf__find_by_name_kind(vmlinux_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow() 94 btf_id[1] = btf__find_by_name_kind(mod_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
|
H A D | libbpf_probes.c | 19 id = btf__find_by_name_kind(btf, "bpf_prog_type", BTF_KIND_ENUM); in test_libbpf_probe_prog_types() 57 id = btf__find_by_name_kind(btf, "bpf_map_type", BTF_KIND_ENUM); in test_libbpf_probe_map_types()
|
H A D | btf_tag.c | 73 type_id = btf__find_by_name_kind(*vmlinux_btf, "user", BTF_KIND_TYPE_TAG); in load_btfs() 90 type_id = btf__find_by_name_kind(*module_btf, "user", BTF_KIND_TYPE_TAG); in load_btfs()
|
H A D | test_bpf_ma.c | 31 id = btf__find_by_name_kind(btf, name, BTF_KIND_STRUCT); in test_test_bpf_ma()
|
H A D | ksyms_btf.c | 164 percpu_datasec = btf__find_by_name_kind(btf, ".data..percpu", in test_ksyms_btf()
|
H A D | fexit_bpf2bpf.c | 120 btf_id = btf__find_by_name_kind(btf, tgt_name + 1, BTF_KIND_FUNC); in test_fexit_bpf2bpf_common() 432 ret = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in find_prog_btf_id()
|
H A D | lsm_cgroup.c | 55 btf__find_by_name_kind(btf, attach_func, BTF_KIND_FUNC)) in query_prog_cnt()
|
H A D | core_reloc.c | 417 id = btf__find_by_name_kind(btf, name, kind); in find_btf_type()
|
/openbmc/linux/tools/perf/tests/ |
H A D | sigtrap.c | 75 id = btf__find_by_name_kind(btf, "perf_event_attr", BTF_KIND_STRUCT); in attr_has_sigtrap()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.map | 119 btf__find_by_name_kind;
|
H A D | btf.h | 126 LIBBPF_API __s32 btf__find_by_name_kind(const struct btf *btf,
|
H A D | libbpf.c | 936 kern_type_id = btf__find_by_name_kind(btf, tname, BTF_KIND_STRUCT); in find_struct_ops_kern_types() 1157 datasec_id = btf__find_by_name_kind(btf, sec_name, in init_struct_ops_maps() 3742 sec_btf_id = btf__find_by_name_kind(btf, KSYMS_SEC, in add_dummy_ksym_var() 7601 id = btf__find_by_name_kind(btf, ksym_name, kind); in find_ksym_btf_id() 9285 return btf__find_by_name_kind(btf, btf_type_name, kind); in find_btf_by_prefix_kind() 9345 err = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in libbpf_find_prog_btf_id()
|
H A D | btf.c | 780 __s32 btf__find_by_name_kind(const struct btf *btf, const char *type_name, in btf__find_by_name_kind() function
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_off_cpu.c | 105 type_id = btf__find_by_name_kind(btf, "btf_trace_sched_switch", in check_sched_switch_args()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | struct_ops.c | 69 map_info_type_id = btf__find_by_name_kind(kern_btf, "bpf_map_info", in get_map_info_type_id()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 181 func_id = btf__find_by_name_kind(btf, spec->prog_name, BTF_KIND_FUNC); in parse_test_spec()
|
H A D | test_verifier.c | 980 btf_id = btf__find_by_name_kind(vmlinux_btf, in fixup_prog_kfuncs() 990 btf_id = btf__find_by_name_kind(testmod_btf, in fixup_prog_kfuncs()
|
H A D | veristat.c | 915 id = btf__find_by_name_kind(btf, prog_name, BTF_KIND_FUNC); in fixup_obj()
|