Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dbpf_verifier.h685 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED)
A Dbpf.h571 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator
2965 return type & MEM_ALLOC; in type_is_alloc()
/linux-6.3-rc2/kernel/bpf/
A Dverifier.c1650 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
6416 PTR_TO_BTF_ID | MEM_ALLOC,
6651 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()
6654 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_TRUSTED: in check_func_arg_reg_off()
6655 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
9208 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_allocation_locked()
9209 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_TRUSTED: in check_reg_allocation_locked()
9625 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9661 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9675 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
[all …]
/linux-6.3-rc2/Documentation/bpf/
A Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of

Completed in 42 milliseconds