Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf.h4133 static inline bool type_is_alloc(u32 type)
3940 static inline bool type_is_alloc(u32 type) type_is_alloc() function
/linux/kernel/bpf/
H A Dbtf.c7342 while (type_is_alloc(reg->type)) { in btf_struct_walk()
7373 if (type_is_alloc(reg->type)) in btf_struct_access()
H A Dverifier.c5783 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in coerce_subreg_to_size_sx()
5799 if (type_is_alloc(reg->type) && !type_is_non_owning_ref(reg->type) && in bpf_map_is_rdonly()
7854 if (meta->func_id == BPF_FUNC_kptr_xchg && type_is_alloc(type) && reg_from_argno(argno) == BPF_REG_2) { in process_iter_next_call()