Lines Matching refs:subprog
6577 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match() argument
6589 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match()
6593 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_arg_match()
6596 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match()
6604 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_arg_match()
6620 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_call() argument
6632 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call()
6636 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_call()
6639 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call()
6647 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_call()
6666 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args() argument
6679 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()
6684 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
6696 subprog); in btf_prepare_func_args()
6703 tname, subprog); in btf_prepare_func_args()
6705 if (prog->aux->func_info_aux[subprog].unreliable) { in btf_prepare_func_args()