Lines Matching refs:PTR_TO_MEM
601 [PTR_TO_MEM] = "mem", in reg_type_str()
935 if (dreg->type != (PTR_TO_MEM | PTR_MAYBE_NULL) && dreg->type != PTR_TO_MEM) in destroy_if_dynptr_stack_slot()
3404 case PTR_TO_MEM: in is_spillable_regtype()
4070 case PTR_TO_MEM: in __check_mem_access()
5372 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access()
5831 case PTR_TO_MEM: in check_helper_mem_access()
6397 PTR_TO_MEM,
6398 PTR_TO_MEM | MEM_RINGBUF,
6423 static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } };
6640 case PTR_TO_MEM: in check_func_arg_reg_off()
6641 case PTR_TO_MEM | MEM_RDONLY: in check_func_arg_reg_off()
6642 case PTR_TO_MEM | MEM_RINGBUF: in check_func_arg_reg_off()
8434 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag; in check_helper_call()
8456 regs[BPF_REG_0].type = PTR_TO_MEM | ret_flag; in check_helper_call()
10012 regs[BPF_REG_0].type = PTR_TO_MEM; in check_kfunc_call()
12674 case PTR_TO_MEM: in check_ld_imm()
14982 aux->btf_var.reg_type = PTR_TO_MEM | MEM_RDONLY; in check_pseudo_btf_id()
17063 else if (base_type(regs[i].type) == PTR_TO_MEM) { in do_check_common()