Lines Matching refs:subprog
6598 int btf_check_subprog_arg_match(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_arg_match() argument
6610 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match()
6614 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_arg_match()
6617 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match()
6625 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_arg_match()
6641 int btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, in btf_check_subprog_call() argument
6653 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call()
6657 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_call()
6660 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call()
6668 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_call()
6687 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog, in btf_prepare_func_args() argument
6700 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()
6705 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
6717 subprog); in btf_prepare_func_args()
6724 tname, subprog); in btf_prepare_func_args()
6726 if (prog->aux->func_info_aux[subprog].unreliable) { in btf_prepare_func_args()