Home
last modified time | relevance | path

Searched refs:trusted_args (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/kernel/bpf/
Dbtf.c6240 bool rel = false, kptr_get = false, trusted_args = false; in btf_check_func_arg_match() local
6278 trusted_args = kfunc_meta->flags & KF_TRUSTED_ARGS; in btf_check_func_arg_match()
6347 if (is_kfunc && trusted_args && (obj_ptr && reg->type != PTR_TO_CTX) && !reg->ref_obj_id) { in btf_check_func_arg_match()
6356 if ((trusted_args && obj_ptr) || (rel && reg->ref_obj_id)) in btf_check_func_arg_match()
6456 trusted_args || (rel && reg->ref_obj_id))) { in btf_check_func_arg_match()