Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dbpf_verifier.h780 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
Dbpf.h668 NON_OWN_REF = BIT(14 + BPF_BASE_TYPE_BITS), enumerator
/linux-6.6.21/kernel/bpf/
Dverifier.c473 return type_is_ptr_alloc_obj(type) && type_flag(type) & NON_OWN_REF; in type_is_non_owning_ref()
8345 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
8346 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_func_arg_reg_off()
10900 if (type_flag(reg->type) & NON_OWN_REF) { in ref_set_non_owning()
10905 reg->type |= NON_OWN_REF; in ref_set_non_owning()