Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/bpf/
Dkfuncs.rst70 Here, the verifier will treat first argument as a PTR_TO_MEM, and second
/Linux-v6.1/kernel/bpf/
Dverifier.c464 type == PTR_TO_MEM || type == PTR_TO_BTF_ID; in reg_type_may_be_refcounted_or_null()
562 [PTR_TO_MEM] = "mem", in reg_type_str()
2960 case PTR_TO_MEM: in is_spillable_regtype()
3582 case PTR_TO_MEM: in __check_mem_access()
4794 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access()
5227 case PTR_TO_MEM: in check_helper_mem_access()
5681 PTR_TO_MEM,
5682 PTR_TO_MEM | MEM_ALLOC,
5700 static const struct bpf_reg_types alloc_mem_types = { .types = { PTR_TO_MEM | MEM_ALLOC } };
5852 case PTR_TO_MEM: in check_func_arg_reg_off()
[all …]
Dbtf.c6764 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in btf_prepare_func_args()
/Linux-v6.1/include/linux/
Dbpf.h657 PTR_TO_MEM, /* reg points to valid memory region */ enumerator