Searched refs:func_proto (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_btf.h | 66 #define BTF_FUNC_ENC(name, func_proto) \ argument 67 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | btf_dumper.c | 28 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() 671 const struct btf_type *func_proto, in btf_dump_func() argument 676 BTF_PRINT_TYPE(func_proto->type); in btf_dump_func() 681 vlen = BTF_INFO_VLEN(func_proto->info); in btf_dump_func() 683 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_struct_ops.c | 155 const struct btf_type *func_proto; in bpf_struct_ops_init() local 170 func_proto = btf_type_resolve_func_ptr(btf, in bpf_struct_ops_init() 173 if (func_proto && in bpf_struct_ops_init() 175 func_proto, mname, in bpf_struct_ops_init()
|
D | verifier.c | 8769 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local 8863 func_proto = btf_type_by_id(btf, type->type); in check_btf_func() 8864 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func() 8867 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func() 11964 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local 11994 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id() 11996 if (!func_proto) { in check_struct_ops_btf_id() 12012 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 1552 const struct btf_type *func_proto,
|