Lines Matching defs:func_proto
314 const struct btf_type *func_proto;
3381 const struct btf_type *func, *func_proto;
3419 func_proto = find_kfunc_impl_proto(env, btf, func_name);
3421 func_proto = btf_type_by_id(btf, func->type);
3423 if (!func_proto || !btf_type_is_func_proto(func_proto)) {
3424 verbose(env, "kernel function btf_id %d does not have a valid func_proto\n",
3433 kfunc->proto = func_proto;
8986 btf_id = btf_check_iter_arg(meta->btf, meta->func_proto, regno - 1);
12177 * the BTF func_proto's return value size and argument.
13365 args = (const struct btf_param *)(meta->func_proto + 1);
13366 nargs = btf_type_vlen(meta->func_proto);
13917 meta->func_proto = kfunc.proto;
14350 t = btf_type_skip_modifiers(desc_btf, meta.func_proto->type, NULL);
14480 nargs = btf_type_vlen(meta.func_proto);
14481 args = (const struct btf_param *)(meta.func_proto + 1);
18385 cs->num_params = btf_type_vlen(meta.func_proto);
18387 cs->is_void = btf_type_is_void(btf_type_by_id(meta.btf, meta.func_proto->type));
19118 const struct btf_type *type, *func_proto;
19197 func_proto = btf_type_by_id(btf, type->type);
19198 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto)))
19219 const struct btf_type *type, *func_proto, *ret_type;
19265 /* Already checked func_proto */
19266 func_proto = btf_type_by_id(btf, type->type);
19268 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL);
24819 const struct btf_type *t, *func_proto;
24868 func_proto = btf_type_resolve_func_ptr(btf, member->type,
24870 if (!func_proto) {
24919 prog->aux->attach_func_proto = func_proto;
25124 /* The func_proto of "btf_trace_##tname" is generated from typedef without argument