Home
last modified time | relevance | path

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

/linux/net/bpf/
A Dbpf_dummy_struct_ops.c79 const struct btf_type *func_proto; in bpf_struct_ops_test_run() local
90 func_proto = prog->aux->attach_func_proto; in bpf_struct_ops_test_run()
91 args = dummy_ops_init_args(kattr, btf_type_vlen(func_proto)); in bpf_struct_ops_test_run()
/linux/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
45 func_sig_len = btf_dump_func(d->btf, prog_str, func_proto, NULL, 0, in dump_prog_id_as_func_ptr()
674 const struct btf_type *func_proto, in btf_dump_func() argument
679 BTF_PRINT_TYPE(func_proto->type); in btf_dump_func()
684 vlen = BTF_INFO_VLEN(func_proto->info); in btf_dump_func()
686 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
/linux/tools/testing/selftests/bpf/
A Dtest_btf.h66 #define BTF_FUNC_ENC(name, func_proto) \ argument
67 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
/linux/kernel/bpf/
A Dbpf_struct_ops.c159 const struct btf_type *func_proto; in bpf_struct_ops_init() local
174 func_proto = btf_type_resolve_func_ptr(btf, in bpf_struct_ops_init()
177 if (func_proto && in bpf_struct_ops_init()
179 func_proto, mname, in bpf_struct_ops_init()
A Dverifier.c1793 const struct btf_type *func, *func_proto; in add_kfunc_call() local
1869 func_proto = btf_type_by_id(desc_btf, func->type); in add_kfunc_call()
1870 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call()
1889 func_proto, func_name, in add_kfunc_call()
6719 func_proto = btf_type_by_id(desc_btf, func->type); in check_kfunc_call()
6759 nargs = btf_type_vlen(func_proto); in check_kfunc_call()
10083 func_proto = btf_type_by_id(btf, type->type); in check_btf_func()
10084 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func()
13497 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
13529 if (!func_proto) { in check_struct_ops_btf_id()
[all …]
/linux/include/linux/
A Dbpf.h1701 const struct btf_type *func_proto,
/linux/tools/lib/bpf/
A Dlibbpf.c3692 const struct btf_type *func_proto; in bpf_object__collect_externs() local
3696 func_proto = btf__type_by_id(obj->btf, in bpf_object__collect_externs()
3698 param = btf_params(func_proto); in bpf_object__collect_externs()
3702 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()

Completed in 58 milliseconds