Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dlog.c419 [PTR_TO_MEM] = "mem", in reg_type_str()
676 if (base_type(t) == PTR_TO_MEM) { in print_reg_state()
H A Dverifier.c362 (type == PTR_TO_MEM && !(reg->type & PTR_UNTRUSTED)) || in reg_not_null()
1960 return base_type(reg->type) == PTR_TO_MEM && in reg_is_dynptr_slice_pkt()
2251 case PTR_TO_MEM: in mark_btf_ld_reg()
2253 regs[regno].type = PTR_TO_MEM | flag; in mark_btf_ld_reg()
4324 case PTR_TO_MEM: in __check_mem_access()
4640 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in mark_uptr_ld_reg()
6384 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access()
6983 case PTR_TO_MEM: in check_helper_mem_access()
8110 PTR_TO_MEM,
8111 PTR_TO_MEM | MEM_RINGBUF,
[all …]
H A Dstates.c612 case PTR_TO_MEM: in regsafe()
H A Ddiagnostics.c944 case PTR_TO_MEM: in bpf_diag_reg_type_plain()
H A Dbtf.c7426 return PTR_TO_MEM; in btf_struct_access()
/linux/include/linux/
H A Dbpf_verifier.h1314 case PTR_TO_MEM: in bpf_is_ptr_to_mem_or_btf_id()
H A Dbpf.h1076 PTR_TO_MEM, /* reg points to valid memory region */ enumerator
/linux/Documentation/bpf/
H A Dkfuncs.rst135 Here, the verifier will treat first argument as a PTR_TO_MEM, and second