Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dverifier.c1953 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
4504 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()
4649 ret |= MEM_ALLOC; in btf_ld_kptr_type()
8180 PTR_TO_BTF_ID | MEM_ALLOC,
8210 PTR_TO_BTF_ID | MEM_ALLOC,
8211 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF,
8212 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU,
8342 type &= ~MEM_ALLOC; in check_reg_type()
8443 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()
8444 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC: in check_reg_type()
[all …]
/linux/include/linux/
H A Dbpf_verifier.h1386 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
1396 type_flag(type) & MEM_ALLOC && in type_is_ptr_alloc_obj()
H A Dbpf.h798 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator
4173 return type & MEM_ALLOC; in type_is_alloc()
/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of