Home
last modified time | relevance | path

Searched refs:BTF_KIND_FUNC_PROTO (Results 1 – 18 of 18) sorted by relevance

/linux/tools/lib/bpf/
H A Dbtf_iter.c61 case BTF_KIND_FUNC_PROTO: in btf_field_iter_init()
141 case BTF_KIND_FUNC_PROTO: in btf_field_iter_init()
H A Dfeatures.c176 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 1), 0), in probe_kern_btf_float()
194 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 1), 0),
539 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 1), 1), in probe_ldimm64_full_range_off()
544 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 1), 1), in probe_ldimm64_full_range_off()
H A Dbtf.h435 #define BTF_KIND_FUNC_PROTO 13 /* Function Proto */ in btf_kind()
559 return btf_kind(t) == BTF_KIND_FUNC_PROTO; in btf_is_decl_tag()
421 #define BTF_KIND_FUNC_PROTO global() macro
H A Dbtf_dump.c412 case BTF_KIND_FUNC_PROTO: {
640 case BTF_KIND_FUNC_PROTO: {
875 case BTF_KIND_FUNC_PROTO: { in btf_dump_emit_bit_padding()
1421 case BTF_KIND_FUNC_PROTO: in btf_dump_emit_type_chain()
1642 case BTF_KIND_FUNC_PROTO: { in btf_dump_name_dups()
2625 case BTF_KIND_FUNC_PROTO:
H A Dbtf.c53 [BTF_KIND_FUNC_PROTO] = { 0, sizeof(struct btf_param), 0 },
484 case BTF_KIND_FUNC_PROTO: in btf_type_size()
565 case BTF_KIND_FUNC_PROTO: in btf_bswap_type_rest()
748 if (btf_kind(ft) != BTF_KIND_FUNC_PROTO) { in btf_validate_type()
754 case BTF_KIND_FUNC_PROTO: { in btf_validate_type()
3099 * Append new BTF_KIND_FUNC_PROTO with: in btf__add_func_param()
3132 t->info = btf_type_info(BTF_KIND_FUNC_PROTO, 0, 0); in btf__add_func_param()
3156 /* last type should be BTF_KIND_FUNC_PROTO */ in btf__add_var()
4957 case BTF_KIND_FUNC_PROTO:
5003 case BTF_KIND_FUNC_PROTO in btf_dedup_is_equiv()
[all...]
H A Drelo_core.c191 case BTF_KIND_FUNC_PROTO: { in __bpf_core_types_are_compat()
1678 case BTF_KIND_FUNC_PROTO: { in __bpf_core_types_match()
H A Dlinker.c1638 case BTF_KIND_FUNC_PROTO: { in glob_sym_btf_matches()
H A Dlibbpf.c2565 case BTF_KIND_FUNC_PROTO: return "func_proto"; in get_map_field_long()
/linux/tools/testing/selftests/bpf/
H A Dbtf_helpers.c23 [BTF_KIND_FUNC_PROTO] = "FUNC_PROTO",
181 case BTF_KIND_FUNC_PROTO: { in fprintf_btf_type_raw()
H A Dtest_btf.h64 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, nargs), ret_type)
/linux/tools/include/uapi/linux/
H A Dbtf.h88 BTF_KIND_FUNC_PROTO = 13, /* Function Proto */
158 /* BTF_KIND_FUNC_PROTO is followed by multiple "struct btf_param".
73 BTF_KIND_FUNC_PROTO = 13, /* Function Proto */ global() enumerator
/linux/tools/bpf/bpftool/
H A Dbtf.c48 [BTF_KIND_FUNC_PROTO] = "FUNC_PROTO",
558 case BTF_KIND_FUNC_PROTO: { in dump_btf_kfuncs()
932 case BTF_KIND_FUNC_PROTO: in do_dump()
H A Dgen.c2163 case BTF_KIND_FUNC_PROTO: in btfgen_mark_type()
2311 case BTF_KIND_FUNC_PROTO: { in btfgen_mark_type_match()
H A Dbtf_dumper.c690 case BTF_KIND_FUNC_PROTO: in __btf_dumper_type_only()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c237 ASSERT_EQ(btf_kind(t), BTF_KIND_FUNC_PROTO, "func_proto_kind"); in gen_btf()
H A Dbtf.c2674 BTF_TYPE_ENC(NAME_TBD, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 2), 0), /* [3] */
3074 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, 0), 0), /* [2] */
3094 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 1, 0), 0), /* [2] */
8385 case BTF_KIND_FUNC_PROTO: in test_btf()
/linux/include/linux/
H A Dbtf.h426 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC_PROTO; in btf_type_vlen()
/linux/kernel/bpf/
H A Dbtf.c343 [BTF_KIND_FUNC_PROTO] = "FUNC_PROTO",
5213 * BTF_KIND_FUNC_PROTO cannot be directly referred by in btf_decl_tag_check_meta()
5217 * (i.e. struct's member -> BTF_KIND_PTR -> BTF_KIND_FUNC_PROTO) in btf_decl_tag_resolve()
5821 [BTF_KIND_FUNC_PROTO] = &func_proto_ops,