Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf_verifier.h1386 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
1402 return type_is_ptr_alloc_obj(type) && type_flag(type) & NON_OWN_REF; in type_is_non_owning_ref()
H A Dbpf.h836 NON_OWN_REF = BIT(14 + BPF_BASE_TYPE_BITS), enumerator
/linux/kernel/bpf/
H A Dverifier.c4653 ret |= NON_OWN_REF; in btf_ld_kptr_type()
8211 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF,
8212 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU,
8445 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_reg_type()
8446 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_reg_type()
8546 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in __check_func_arg_reg_off()
8547 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in __check_func_arg_reg_off()
9568 reg->type &= ~(MEM_RCU | PTR_MAYBE_NULL | NON_OWN_REF); in invalidate_rcu_protected_refs()
12278 if (type_flag(reg->type) & NON_OWN_REF) { in ref_set_non_owning()
12283 reg->type |= NON_OWN_REF; in ref_set_non_owning()