| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | btf.h | 71 #define BTF_KIND_FUNC 12 /* Function */ macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btf.h | 71 #define BTF_KIND_FUNC 12 /* Function */ macro
|
| /OK3568_Linux_fs/kernel/Documentation/bpf/ |
| H A D | btf.rst | 83 #define BTF_KIND_FUNC 12 /* Function */ 89 ``BTF_KIND_FUNC`` is not a type, and it represents a defined subprogram. 357 2.2.12 BTF_KIND_FUNC 363 * ``info.kind``: BTF_KIND_FUNC 369 A BTF_KIND_FUNC defines not a type, but a subprogram (function) whose 371 type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the 392 If a BTF_KIND_FUNC_PROTO type is referred by a BTF_KIND_FUNC type, then 554 __u32 type_id; /* pointing to a BTF_KIND_FUNC type */ 868 support .BTF.ext and btf BTF_KIND_FUNC type yet. For example,::
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_btf.h | 67 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | resolve_btfids.c | 28 { "func", BTF_KIND_FUNC, -1 },
|
| H A D | btf_write.c | 197 ASSERT_EQ(btf_kind(t), BTF_KIND_FUNC, "func_kind"); in test_btf_write()
|
| H A D | btf.c | 2806 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 2), 3), /* [4] */ 3021 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_FUNC, 1, 0), 2), /* [3] */ 6611 case BTF_KIND_FUNC: in btf_type_size()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | btf.h | 145 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC; in btf_type_is_func()
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | btf.c | 35 [BTF_KIND_FUNC] = "FUNC", 247 case BTF_KIND_FUNC: { in dump_btf_type()
|
| H A D | btf_dumper.c | 644 case BTF_KIND_FUNC: in __btf_dumper_type_only()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | btf.c | 265 case BTF_KIND_FUNC: in btf_type_size() 312 case BTF_KIND_FUNC: in btf_bswap_type_rest() 2069 id = btf_add_ref_kind(btf, BTF_KIND_FUNC, name, proto_type_id); in btf__add_func() 2073 t->info = btf_type_info(BTF_KIND_FUNC, linkage, 0); in btf__add_func() 3575 case BTF_KIND_FUNC: in btf_dedup_prim_type() 3859 case BTF_KIND_FUNC: in btf_dedup_is_equiv() 4136 case BTF_KIND_FUNC: in btf_dedup_ref_type() 4333 case BTF_KIND_FUNC: in btf_dedup_remap_type()
|
| H A D | btf.h | 271 return btf_kind(t) == BTF_KIND_FUNC; in btf_is_func()
|
| H A D | btf_dump.c | 289 case BTF_KIND_FUNC: in btf_dump_mark_referenced() 554 case BTF_KIND_FUNC: in btf_dump_order_type()
|
| H A D | libbpf.c | 1916 case BTF_KIND_FUNC: return "func"; in btf_kind_str() 2429 t->info = BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0); in bpf_object__sanitize_btf() 3860 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), 2), in probe_kern_btf_func() 3878 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 2), in probe_kern_btf_func_global() 8701 BTF_KIND_FUNC); in __find_vmlinux_btf_id() 8704 BTF_KIND_FUNC); in __find_vmlinux_btf_id() 8706 err = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in __find_vmlinux_btf_id() 8753 err = btf__find_by_name_kind(btf, name, BTF_KIND_FUNC); in libbpf_find_prog_btf_id()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | btf.c | 271 [BTF_KIND_FUNC] = "FUNC", 3744 [BTF_KIND_FUNC] = &func_ops,
|