Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dbpf_verifier.h780 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF) macro
784 return type_flag(type) & ~BPF_REG_TRUSTED_MODIFIERS; in bpf_type_has_unsafe_modifiers()
/openbmc/linux/kernel/bpf/
H A Dverifier.c5709 return type_flag(reg->type) & BPF_REG_TRUSTED_MODIFIERS && in is_trusted_reg()
5720 *flag &= ~(BPF_REG_TRUSTED_MODIFIERS | MEM_RCU); in clear_trusted_flags()
11582 (type_flag(reg->type) & BPF_REG_TRUSTED_MODIFIERS))); in check_kfunc_args()