Home
last modified time | relevance | path

Searched refs:MEM_ALLOC (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dbpf_verifier.h780 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
H A Dbpf.h634 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator
3222 return type & MEM_ALLOC; in type_is_alloc()
/openbmc/linux/kernel/bpf/
H A Dverifier.c468 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
2204 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
5258 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()
8083 PTR_TO_BTF_ID | MEM_ALLOC,
8179 type &= ~MEM_ALLOC; in check_reg_type()
8261 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()
8352 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()
8355 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
8356 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_func_arg_reg_off()
10312 regs[BPF_REG_0].type |= MEM_ALLOC; in check_helper_call()
[all …]
/openbmc/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of