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.c381 (type == PTR_TO_MEM && !(reg->type & PTR_UNTRUSTED)) || in reg_btf_record()
2192 return base_type(reg->type) == PTR_TO_MEM &&
2516 case PTR_TO_MEM: in find_kfunc_desc()
2518 regs[regno].type = PTR_TO_MEM | flag; in find_kfunc_desc()
4768 case PTR_TO_MEM: in check_map_access()
5091 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in atomic_ptr_type_ok()
7291 } else if (base_type(reg->type) == PTR_TO_MEM) {
7326 * Accesses to untrusted PTR_TO_MEM are done through probe in process_spin_lock()
7371 } else if (base_type(info.reg_type) == PTR_TO_MEM) { in process_spin_lock()
7953 case PTR_TO_MEM
[all...]
H A Dstates.c632 case PTR_TO_MEM: in regsafe()
H A Ddiagnostics.c941 case PTR_TO_MEM: in bpf_diag_reg_type_plain()
H A Dbtf.c7557 * PTR_TO_MEM. in btf_struct_ids_match()
7567 type == PTR_TO_MEM || in __get_type_size()
8115 ret = PTR_TO_MEM; in btf_prepare_func_args()
/linux/include/linux/
H A Dbpf_verifier.h84 struct { /* for PTR_TO_MEM | PTR_TO_MEM_OR_NULL */
1555 case PTR_TO_MEM:
1784 /* Size of PTR_TO_MEM returned, taken from a constant allocation-size argument */
H A Dbpf.h1127 PTR_TO_MEM, /* reg points to valid memory region */ in bpf_is_ldimm64()
1077 PTR_TO_MEM, /* reg points to valid memory region */ global() enumerator
/linux/Documentation/bpf/
H A Dkfuncs.rst135 Here, the verifier will treat first argument as a PTR_TO_MEM, and second