Searched refs:func_proto (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/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)
|
| /Linux-v5.15/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() 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-v5.15/kernel/bpf/ |
| D | bpf_struct_ops.c | 156 const struct btf_type *func_proto; in bpf_struct_ops_init() local 171 func_proto = btf_type_resolve_func_ptr(btf, in bpf_struct_ops_init() 174 if (func_proto && in bpf_struct_ops_init() 176 func_proto, mname, in bpf_struct_ops_init()
|
| D | verifier.c | 1665 const struct btf_type *func, *func_proto; in add_kfunc_call() local 1716 func_proto = btf_type_by_id(btf_vmlinux, func->type); in add_kfunc_call() 1717 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call() 1735 func_proto, func_name, in add_kfunc_call() 6484 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local 6494 func_proto = btf_type_by_id(btf_vmlinux, func->type); in check_kfunc_call() 6512 t = btf_type_skip_modifiers(btf_vmlinux, func_proto->type, NULL); in check_kfunc_call() 6534 nargs = btf_type_vlen(func_proto); in check_kfunc_call() 6535 args = (const struct btf_param *)(func_proto + 1); in check_kfunc_call() 9757 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local [all …]
|
| /Linux-v5.15/include/linux/ |
| D | bpf.h | 1656 const struct btf_type *func_proto,
|
| /Linux-v5.15/tools/lib/bpf/ |
| D | libbpf.c | 3458 const struct btf_type *func_proto; in bpf_object__collect_externs() local 3462 func_proto = btf__type_by_id(obj->btf, in bpf_object__collect_externs() 3464 param = btf_params(func_proto); in bpf_object__collect_externs() 3468 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()
|