Lines Matching refs:subprog
6870 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match() argument
6882 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match()
6886 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_arg_match()
6889 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match()
6897 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_arg_match()
6913 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_call() argument
6925 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call()
6929 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_call()
6932 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call()
6940 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_call()
6951 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args() argument
6964 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()
6969 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
6981 subprog); in btf_prepare_func_args()
6988 tname, subprog); in btf_prepare_func_args()
6990 if (prog->aux->func_info_aux[subprog].unreliable) { in btf_prepare_func_args()