| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | module_fentry_shadow.c | 91 btf_id[0] = btf__find_by_name_kind(vmlinux_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow() 95 btf_id[1] = btf__find_by_name_kind(mod_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
|
| H A D | test_global_funcs.c | 103 if (!ASSERT_EQ(btf_kind(fn_t), BTF_KIND_FUNC, "fn_type_kind")) in subtest_ctx_arg_rewrite()
|
| H A D | fexit_bpf2bpf.c | 121 btf_id = btf__find_by_name_kind(btf, tgt_name + 1, BTF_KIND_FUNC); in test_fexit_bpf2bpf_common() 463 ret = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in find_prog_btf_id()
|
| H A D | resolve_btfids.c | 46 { "func", BTF_KIND_FUNC, -1 },
|
| H A D | tracing_multi.c | 128 if (BTF_INFO_KIND(type->info) != BTF_KIND_FUNC) in get_ids() 734 if (BTF_INFO_KIND(type->info) != BTF_KIND_FUNC) in serial_test_tracing_multi_bench_attach()
|
| H A D | btf_write.c | 224 ASSERT_EQ(btf_kind(t), BTF_KIND_FUNC, "func_kind"); in gen_btf()
|
| H A D | fill_link_info.c | 439 id = btf__find_by_name_kind(btf, tmulti_syms[i], BTF_KIND_FUNC); in setup_tmulti_targets()
|
| /linux/tools/lib/bpf/ |
| H A D | btf_iter.c | 40 case BTF_KIND_FUNC: in btf_field_iter_init() 92 case BTF_KIND_FUNC: in btf_field_iter_init()
|
| H A D | features.c | 103 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), 2), in probe_kern_btf_func() 121 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 2), in probe_kern_btf_func_global() 466 BTF_TYPE_ENC(1 /* "a" */, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 3), in probe_kern_arg_ctx_tag() 471 BTF_TYPE_ENC(3 /* "b" */, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 5), in probe_kern_arg_ctx_tag()
|
| H A D | btf.h | 419 #ifndef BTF_KIND_FUNC 420 #define BTF_KIND_FUNC 12 /* Function */ macro 534 return btf_kind(t) == BTF_KIND_FUNC; in btf_is_func()
|
| H A D | btf.c | 52 [BTF_KIND_FUNC] = { 0, 0, 0 }, 466 case BTF_KIND_FUNC: in btf_type_size() 519 case BTF_KIND_FUNC: in btf_bswap_type_rest() 712 case BTF_KIND_FUNC: { in btf_validate_type() 3033 id = btf_add_ref_kind(btf, BTF_KIND_FUNC, name, proto_type_id, 0); in btf__add_func() 3037 t->info = btf_type_info(BTF_KIND_FUNC, linkage, 0); in btf__add_func() 4595 case BTF_KIND_FUNC: in btf_dedup_prep() 4657 case BTF_KIND_FUNC: in btf_dedup_prim_type() 4816 case BTF_KIND_FUNC: in btf_dedup_identical_types() 5074 case BTF_KIND_FUNC: in btf_dedup_is_equiv() [all …]
|
| H A D | btf_dump.c | 338 case BTF_KIND_FUNC: in btf_dump_mark_referenced() 608 case BTF_KIND_FUNC: in btf_dump_order_type() 2525 case BTF_KIND_FUNC: in btf_dump_dump_type_data()
|
| H A D | linker.c | 1536 case BTF_KIND_FUNC: in glob_sym_btf_matches() 1579 case BTF_KIND_FUNC: in glob_sym_btf_matches() 1943 dst_t->info = btf_type_info(BTF_KIND_FUNC, BTF_FUNC_GLOBAL, 0); in complete_extern_btf_info()
|
| H A D | libbpf.c | 2473 case BTF_KIND_FUNC: return "func"; in __btf_kind_str() 3301 t->info = BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0); in bpf_object__sanitize_btf() 3683 t->info = btf_type_info(BTF_KIND_FUNC, BTF_FUNC_STATIC, 0); in bpf_object__sanitize_and_load_btf() 8362 BTF_KIND_VAR : BTF_KIND_FUNC; in bpf_program_record_relos() 8369 ext->is_weak, false, false, BTF_KIND_FUNC, in bpf_program_record_relos() 8812 kfunc_id = find_ksym_btf_id(obj, ext->essent_name ?: ext->name, BTF_KIND_FUNC, &kern_btf, in bpf_object__resolve_ksym_func_btf_id() 10620 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() 10624 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() 10628 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() 10706 err = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in libbpf_find_prog_btf_id() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 22 [BTF_KIND_FUNC] = "FUNC", 172 case BTF_KIND_FUNC: in fprintf_btf_type_raw()
|
| H A D | test_btf.h | 70 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
|
| H A D | test_verifier.c | 980 BTF_KIND_FUNC); in fixup_prog_kfuncs() 990 BTF_KIND_FUNC); in fixup_prog_kfuncs()
|
| /linux/tools/include/uapi/linux/ |
| H A D | btf.h | 87 BTF_KIND_FUNC = 12, /* Function */ 72 BTF_KIND_FUNC = 12, /* Function */ global() enumerator
|
| /linux/kernel/trace/ |
| H A D | trace_btf.c | 18 id = bpf_find_btf_id(func_name, BTF_KIND_FUNC, btf_p); in btf_find_func_proto()
|
| /linux/tools/bpf/bpftool/ |
| H A D | btf.c | 46 [BTF_KIND_FUNC] = "FUNC", 311 case BTF_KIND_FUNC: { in dump_btf_type()
|
| H A D | btf_dumper.c | 684 case BTF_KIND_FUNC: in __btf_dumper_type_only()
|
| /linux/include/linux/ |
| H A D | btf.h | 385 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC; in btf_type_is_func()
|
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 1125 func_id = btf__find_by_name_kind_own(btf, name, BTF_KIND_FUNC); in collect_kfuncs() 1250 if (btf__find_by_name_kind_own(btf, tmp_name, BTF_KIND_FUNC) > 0) { in process_kfunc_with_implicit_args()
|
| /linux/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.c | 1951 bpf_cgroup_from_id_id = bpf_find_btf_id("bpf_cgroup_from_id", BTF_KIND_FUNC, &kfunc_btf); in st_ops_init() 1952 bpf_cgroup_release_id = bpf_find_btf_id("bpf_cgroup_release", BTF_KIND_FUNC, &kfunc_btf); in st_ops_init()
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 200 stub_func_id = btf_find_by_name_kind(btf, stub_fname, BTF_KIND_FUNC); in prepare_arg_info()
|