Lines Matching refs:func_proto
1793 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()
6699 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
6719 func_proto = btf_type_by_id(desc_btf, func->type); in check_kfunc_call()
6737 t = btf_type_skip_modifiers(desc_btf, func_proto->type, NULL); in check_kfunc_call()
6759 nargs = btf_type_vlen(func_proto); in check_kfunc_call()
6760 args = (const struct btf_param *)(func_proto + 1); in check_kfunc_call()
9987 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
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()
10087 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
13497 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
13527 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
13529 if (!func_proto) { in check_struct_ops_btf_id()
13545 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()