Lines Matching refs:PTR_TO_MEM
407 type == PTR_TO_MEM; in reg_not_null()
915 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM) in destroy_if_dynptr_stack_slot()
2205 return base_type(reg->type) == PTR_TO_MEM && in reg_is_dynptr_slice_pkt()
4865 case PTR_TO_MEM: in is_spillable_regtype()
5618 case PTR_TO_MEM: in __check_mem_access()
5890 reg->type = PTR_TO_MEM | PTR_MAYBE_NULL; in mark_uptr_ld_reg()
7482 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access()
8067 case PTR_TO_MEM: in check_helper_mem_access()
9026 PTR_TO_MEM,
9027 PTR_TO_MEM | MEM_RINGBUF,
9043 static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
9307 case PTR_TO_MEM: in check_func_arg_reg_off()
9308 case PTR_TO_MEM | MEM_RDONLY: in check_func_arg_reg_off()
9309 case PTR_TO_MEM | MEM_RINGBUF: in check_func_arg_reg_off()
11608 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag; in check_helper_call()
11630 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag; in check_helper_call()
13789 regs[BPF_REG_0].type = PTR_TO_MEM | type_flag; in check_kfunc_call()
13840 regs[BPF_REG_0].type = PTR_TO_MEM; in check_kfunc_call()
14338 case PTR_TO_MEM: in adjust_ptr_min_max_vals()
16649 case PTR_TO_MEM: in check_ld_imm()
18392 case PTR_TO_MEM: in regsafe()
19809 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY; in __check_pseudo_btf_id()
19844 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY; in __check_pseudo_btf_id()
22725 reg->type = PTR_TO_MEM; in do_check_common()