Searched refs:type_is_alloc (Results 1 – 3 of 3) sorted by relevance
3400 static inline bool type_is_alloc(u32 type) in type_is_alloc() function
6684 while (type_is_alloc(reg->type)) { in btf_struct_access()6715 if (type_is_alloc(reg->type)) in btf_struct_access()
6512 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()6528 if (type_is_alloc(reg->type) && !type_is_non_owning_ref(reg->type) && in check_ptr_to_btf_access()8309 if (meta->func_id == BPF_FUNC_kptr_xchg && type_is_alloc(type)) { in check_reg_type()