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.h864 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
878 return type_is_ptr_alloc_obj(type) && type_flag(type) & NON_OWN_REF; in type_is_non_owning_ref()
H A Dbpf.h689 NON_OWN_REF = BIT(14 + BPF_BASE_TYPE_BITS), enumerator
/linux/kernel/bpf/
H A Dverifier.c5361 ret |= NON_OWN_REF; in btf_ld_kptr_type()
8492 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
8493 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_func_arg_reg_off()
11330 if (type_flag(reg->type) & NON_OWN_REF) { in ref_set_non_owning()
11335 reg->type |= NON_OWN_REF; in ref_set_non_owning()