Lines Matching refs:MEM_ALLOC
468 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
1989 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
5001 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()
7735 PTR_TO_BTF_ID | MEM_ALLOC,
7833 type &= ~MEM_ALLOC; in check_reg_type()
7915 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()
8006 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()
8009 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF: in check_func_arg_reg_off()
8010 case PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU: in check_func_arg_reg_off()
9884 regs[BPF_REG_0].type |= MEM_ALLOC; in check_helper_call()
10583 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_allocation_locked()
11005 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
11082 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
11086 if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) { in check_kfunc_args()
11096 reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
11100 if (reg->type == (PTR_TO_BTF_ID | MEM_ALLOC) && !reg->ref_obj_id) { in check_kfunc_args()
11109 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
11132 if (reg->type != (PTR_TO_BTF_ID | MEM_ALLOC)) { in check_kfunc_args()
11455 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC; in check_kfunc_call()
11464 regs[BPF_REG_0].type = PTR_TO_BTF_ID | MEM_ALLOC; in check_kfunc_call()
17809 case PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED: in convert_ctx_accesses()