Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dverifier.c4558 !type_is_alloc(reg->type))) in map_kptr_match_type()
6050 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6074 if (type_is_alloc(reg->type) && !bpf_may_fault_on_deref(reg->type) && in check_ptr_to_btf_access()
8341 …if (meta->func_id == BPF_FUNC_kptr_xchg && type_is_alloc(type) && reg_from_argno(argno) == BPF_REG… in check_reg_type()
8433 strict_type_match, !type_is_alloc(reg->type))) { in check_reg_type()
12182 !type_is_alloc(reg->type)); in process_kf_arg_ptr_to_btf_id()
12623 !type_is_alloc(reg->type))) { in __process_kf_arg_ptr_to_graph_node()
H A Dbtf.c7444 while (type_is_alloc(reg->type)) { in btf_struct_access()
7469 field_name, !type_is_alloc(reg->type)); in btf_struct_access()
7476 if (type_is_alloc(reg->type)) in btf_struct_access()
/linux/include/linux/
H A Dbpf.h4171 static inline bool type_is_alloc(u32 type) in type_is_alloc() function