Lines Matching refs:func_proto

2257 	const struct btf_type *func, *func_proto;  in add_kfunc_call()  local
2334 func_proto = btf_type_by_id(desc_btf, func->type); in add_kfunc_call()
2335 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call()
2368 func_proto, func_name, in add_kfunc_call()
8603 const struct btf_type *func_proto; member
9466 args = (const struct btf_param *)(meta->func_proto + 1); in check_kfunc_args()
9467 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
9778 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
9801 func_proto = btf_type_by_id(desc_btf, func->type); in check_kfunc_call()
9815 meta.func_proto = func_proto; in check_kfunc_call()
9911 t = btf_type_skip_modifiers(desc_btf, func_proto->type, NULL); in check_kfunc_call()
10053 nargs = btf_type_vlen(func_proto); in check_kfunc_call()
10054 args = (const struct btf_param *)(func_proto + 1); in check_kfunc_call()
13299 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
13395 func_proto = btf_type_by_id(btf, type->type); in check_btf_func()
13396 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func()
13399 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
17185 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
17215 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
17217 if (!func_proto) { in check_struct_ops_btf_id()
17233 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()