Lines Matching refs:func_proto
298 const struct btf_type *func_proto; member
3137 const struct btf_type *func, *func_proto; in add_kfunc_call() local
3214 func_proto = btf_type_by_id(desc_btf, func->type); in add_kfunc_call()
3215 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call()
3254 func_proto, func_name, in add_kfunc_call()
8652 btf_id = btf_check_iter_arg(meta->btf, meta->func_proto, regno - 1); in process_iter_arg()
12885 args = (const struct btf_param *)(meta->func_proto + 1); in check_kfunc_args()
12886 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
13386 const struct btf_type *func, *func_proto; in fetch_kfunc_meta() local
13406 func_proto = btf_type_by_id(desc_btf, func->type); in fetch_kfunc_meta()
13417 meta->func_proto = func_proto; in fetch_kfunc_meta()
13636 t = btf_type_skip_modifiers(desc_btf, meta.func_proto->type, NULL); in check_kfunc_call()
13901 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()
13902 args = (const struct btf_param *)(meta.func_proto + 1); in check_kfunc_call()
17248 cs->num_params = btf_type_vlen(meta.func_proto); in get_call_summary()
17250 cs->is_void = btf_type_is_void(btf_type_by_id(meta.btf, meta.func_proto->type)); in get_call_summary()
17691 const struct btf_type *type, *func_proto; in check_btf_func_early() local
17770 func_proto = btf_type_by_id(btf, type->type); in check_btf_func_early()
17771 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func_early()
17792 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
17838 func_proto = btf_type_by_id(btf, type->type); in check_btf_func()
17840 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
22909 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
22958 func_proto = btf_type_resolve_func_ptr(btf, member->type, in check_struct_ops_btf_id()
22960 if (!func_proto) { in check_struct_ops_btf_id()
23009 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()