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.h1363 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
1377 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.c4623 ret |= NON_OWN_REF; in btf_ld_kptr_type()
8152 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF,
8153 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU,
8385 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_reg_type()
8386 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_reg_type()
8486 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in __check_func_arg_reg_off()
8487 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in __check_func_arg_reg_off()
12155 if (type_flag(reg->type) & NON_OWN_REF) { in ref_set_non_owning()
12160 reg->type |= NON_OWN_REF; in ref_set_non_owning()