/linux-6.1.9/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 22 [BTF_KIND_FUNC] = "FUNC", 172 case BTF_KIND_FUNC: in fprintf_btf_type_raw()
|
D | test_btf.h | 70 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
|
D | test_verifier.c | 1119 BTF_KIND_FUNC); in do_test_fixup()
|
/linux-6.1.9/tools/lib/bpf/ |
D | btf.h | 304 #ifndef BTF_KIND_FUNC 305 #define BTF_KIND_FUNC 12 /* Function */ macro 419 return btf_kind(t) == BTF_KIND_FUNC; in btf_is_func()
|
D | btf.c | 300 case BTF_KIND_FUNC: in btf_type_size() 354 case BTF_KIND_FUNC: in btf_bswap_type_rest() 2357 id = btf_add_ref_kind(btf, BTF_KIND_FUNC, name, proto_type_id); in btf__add_func() 2361 t->info = btf_type_info(BTF_KIND_FUNC, linkage, 0); in btf__add_func() 3686 case BTF_KIND_FUNC: in btf_dedup_prep() 3745 case BTF_KIND_FUNC: in btf_dedup_prim_type() 4116 case BTF_KIND_FUNC: in btf_dedup_is_equiv() 4412 case BTF_KIND_FUNC: in btf_dedup_ref_type() 4712 case BTF_KIND_FUNC: in btf_type_visit_type_ids()
|
D | btf_dump.c | 333 case BTF_KIND_FUNC: in btf_dump_mark_referenced() 603 case BTF_KIND_FUNC: in btf_dump_order_type() 2335 case BTF_KIND_FUNC: in btf_dump_dump_type_data()
|
D | gen_loader.c | 875 case BTF_KIND_FUNC: in emit_relo() 913 } else if (gen->ksyms[i].kind == BTF_KIND_FUNC) { in cleanup_relos()
|
D | linker.c | 1340 case BTF_KIND_FUNC: in glob_sym_btf_matches() 1383 case BTF_KIND_FUNC: in glob_sym_btf_matches() 1747 dst_t->info = btf_type_info(BTF_KIND_FUNC, BTF_FUNC_GLOBAL, 0); in complete_extern_btf_info()
|
D | libbpf.c | 2050 case BTF_KIND_FUNC: return "func"; in __btf_kind_str() 2710 t->info = BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0); in bpf_object__sanitize_btf() 3061 t->info = btf_type_info(BTF_KIND_FUNC, BTF_FUNC_STATIC, 0); in bpf_object__sanitize_and_load_btf() 4522 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), 2), in probe_kern_btf_func() 4540 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 2), in probe_kern_btf_func_global() 7067 ext->is_weak, false, BTF_KIND_FUNC, in bpf_program_record_relos() 7475 kfunc_id = find_ksym_btf_id(obj, ext->name, BTF_KIND_FUNC, &kern_btf, &mod_btf); in bpf_object__resolve_ksym_func_btf_id() 8947 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() 8951 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() 8955 *kind = BTF_KIND_FUNC; in btf_get_kernel_prefix_kind() [all …]
|
/linux-6.1.9/include/uapi/linux/ |
D | btf.h | 72 BTF_KIND_FUNC = 12, /* Function */ enumerator
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | btf.h | 72 BTF_KIND_FUNC = 12, /* Function */ enumerator
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | resolve_btfids.c | 28 { "func", BTF_KIND_FUNC, -1 },
|
D | fexit_bpf2bpf.c | 118 btf_id = btf__find_by_name_kind(btf, tgt_name + 1, BTF_KIND_FUNC); in test_fexit_bpf2bpf_common() 430 ret = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in find_prog_btf_id()
|
D | lsm_cgroup.c | 54 btf__find_by_name_kind(btf, attach_func, BTF_KIND_FUNC)) in query_prog_cnt()
|
D | btf_write.c | 224 ASSERT_EQ(btf_kind(t), BTF_KIND_FUNC, "func_kind"); in gen_btf()
|
D | btf.c | 2803 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 2), 3), /* [4] */ 2998 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_FUNC, 1, 0), 2), /* [3] */ 7630 case BTF_KIND_FUNC: in btf_type_size()
|
/linux-6.1.9/Documentation/bpf/ |
D | btf.rst | 83 #define BTF_KIND_FUNC 12 /* Function */ 93 ``BTF_KIND_FUNC`` is not a type, and it represents a defined subprogram. 365 2.2.12 BTF_KIND_FUNC 371 * ``info.kind``: BTF_KIND_FUNC 378 A BTF_KIND_FUNC defines not a type, but a subprogram (function) whose 380 type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the 404 If a BTF_KIND_FUNC_PROTO type is referred by a BTF_KIND_FUNC type, then 650 __u32 type_id; /* pointing to a BTF_KIND_FUNC type */ 963 support .BTF.ext and btf BTF_KIND_FUNC type yet. For example,::
|
/linux-6.1.9/include/linux/ |
D | btf.h | 293 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC; in btf_type_is_func()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf.c | 36 [BTF_KIND_FUNC] = "FUNC", 297 case BTF_KIND_FUNC: { in dump_btf_type()
|
D | btf_dumper.c | 684 case BTF_KIND_FUNC: in __btf_dumper_type_only()
|
/linux-6.1.9/kernel/bpf/ |
D | btf.c | 305 [BTF_KIND_FUNC] = "FUNC", 4555 [BTF_KIND_FUNC] = &func_ops,
|