Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dbpf_verifier.h748 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
Dbpf.h621 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator
3176 return type & MEM_ALLOC; in type_is_alloc()
/Linux-v6.6/kernel/bpf/
Dverifier.c468 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
1989 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
5001 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()
7735 PTR_TO_BTF_ID | MEM_ALLOC,
7833 type &= ~MEM_ALLOC; in check_reg_type()
7915 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()
8006 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()
8009 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
8010 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_func_arg_reg_off()
9884 regs[BPF_REG_0].type |= MEM_ALLOC; in check_helper_call()
[all …]
/Linux-v6.6/Documentation/bpf/
Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of