Lines Matching refs:func_proto
1665 const struct btf_type *func, *func_proto; in add_kfunc_call() local
1716 func_proto = btf_type_by_id(btf_vmlinux, func->type); in add_kfunc_call()
1717 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call()
1735 func_proto, func_name, in add_kfunc_call()
6484 const struct btf_type *t, *func, *func_proto, *ptr_type; in check_kfunc_call() local
6494 func_proto = btf_type_by_id(btf_vmlinux, func->type); in check_kfunc_call()
6512 t = btf_type_skip_modifiers(btf_vmlinux, func_proto->type, NULL); in check_kfunc_call()
6534 nargs = btf_type_vlen(func_proto); in check_kfunc_call()
6535 args = (const struct btf_param *)(func_proto + 1); in check_kfunc_call()
9757 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
9853 func_proto = btf_type_by_id(btf, type->type); in check_btf_func()
9854 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func()
9857 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
13250 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local
13280 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
13282 if (!func_proto) { in check_struct_ops_btf_id()
13298 prog->aux->attach_func_proto = func_proto; in check_struct_ops_btf_id()