Lines Matching refs:MEM_ALLOC
461 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
1650 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
5087 if (atype != BPF_READ && reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_ptr_to_btf_access()
6416 PTR_TO_BTF_ID | MEM_ALLOC,
6651 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()
6654 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_TRUSTED: in check_func_arg_reg_off()
6655 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
9208 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_allocation_locked()
9209 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_TRUSTED: in check_reg_allocation_locked()
9625 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9661 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9665 if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) { in check_kfunc_args()
9675 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9679 if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) { in check_kfunc_args()
9688 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9711 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
9956 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC; in check_kfunc_call()
15900 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED: in convert_ctx_accesses()