Home
last modified time | relevance | path

Searched refs:func_proto (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/
A Dtest_btf.h69 #define BTF_FUNC_ENC(name, func_proto) \ argument
70 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
/tools/bpf/bpftool/
A Dbtf_dumper.c28 const struct btf_type *func_proto,
32 const struct btf_type *func_proto, in dump_prog_id_as_func_ptr() argument
47 func_sig_len = btf_dump_func(d->btf, prog_str, func_proto, NULL, 0, in dump_prog_id_as_func_ptr()
711 const struct btf_type *func_proto, in btf_dump_func() argument
716 BTF_PRINT_TYPE(func_proto->type); in btf_dump_func()
721 vlen = BTF_INFO_VLEN(func_proto->info); in btf_dump_func()
723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
/tools/lib/bpf/
A Dlibbpf.c4370 const struct btf_type *func_proto; in bpf_object__collect_externs() local
4374 func_proto = btf__type_by_id(obj->btf, in bpf_object__collect_externs()
4376 param = btf_params(func_proto); in bpf_object__collect_externs()
4380 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()

Completed in 32 milliseconds