Searched refs:MEM_ALLOC (Results 1 – 4 of 4) sorted by relevance
926 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)935 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
688 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator3556 return type & MEM_ALLOC; in type_is_alloc()
2186 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()5736 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()5869 ret |= MEM_ALLOC; in btf_ld_kptr_type()9036 PTR_TO_BTF_ID | MEM_ALLOC,9066 PTR_TO_BTF_ID | MEM_ALLOC9139 type &= ~MEM_ALLOC; in check_reg_type()9224 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()9319 case PTR_TO_BTF_ID | MEM_ALLOC: in check_func_arg_reg_off()11373 reg->type &= ~MEM_ALLOC; in check_helper_call()11661 regs[BPF_REG_0].type |= MEM_ALLOC; in check_helper_call()[all …]
99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of