Lines Matching refs:func_proto
302 const struct btf_type *func_proto; member
3268 const struct btf_type *func, *func_proto; in add_kfunc_call() local
3345 func_proto = btf_type_by_id(desc_btf, func->type); in add_kfunc_call()
3346 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call()
3367 func_proto, func_name, in add_kfunc_call()
8847 btf_id = btf_check_iter_arg(meta->btf, meta->func_proto, regno - 1); in process_iter_arg()
13166 args = (const struct btf_param *)(meta->func_proto + 1); in check_kfunc_args()
13167 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
13702 const struct btf_type *func, *func_proto; in fetch_kfunc_meta() local
13722 func_proto = btf_type_by_id(desc_btf, func->type); in fetch_kfunc_meta()
13733 meta->func_proto = func_proto; in fetch_kfunc_meta()
14156 t = btf_type_skip_modifiers(desc_btf, meta.func_proto->type, NULL); in check_kfunc_call()
14274 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()
14275 args = (const struct btf_param *)(meta.func_proto + 1); in check_kfunc_call()
17739 cs->num_params = btf_type_vlen(meta.func_proto); in get_call_summary()
17741 cs->is_void = btf_type_is_void(btf_type_by_id(meta.btf, meta.func_proto->type)); in get_call_summary()
18470 const struct btf_type *type, *func_proto; in check_btf_func_early() local
18549 func_proto = btf_type_by_id(btf, type->type); in check_btf_func_early()
18550 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func_early()
18571 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
18617 func_proto = btf_type_by_id(btf, type->type); in check_btf_func()
18619 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
23990 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
24039 func_proto = btf_type_resolve_func_ptr(btf, member->type, in check_struct_ops_btf_id()
24041 if (!func_proto) { in check_struct_ops_btf_id()
24090 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()