Searched refs:MEM_ALLOC (Results 1 – 4 of 4) sorted by relevance
1942 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()4481 perm_flags = PTR_MAYBE_NULL | MEM_ALLOC; in map_kptr_match_type()4619 ret |= MEM_ALLOC; in btf_ld_kptr_type()8121 PTR_TO_BTF_ID | MEM_ALLOC,8151 PTR_TO_BTF_ID | MEM_ALLOC,8152 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF,8153 PTR_TO_BTF_ID | MEM_ALLOC | NON_OWN_REF | MEM_RCU,8282 type &= ~MEM_ALLOC; in check_reg_type()8383 case PTR_TO_BTF_ID | MEM_ALLOC: in check_reg_type()8384 case PTR_TO_BTF_ID | MEM_PERCPU | MEM_ALLOC: in check_reg_type()[all …]
1363 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)1372 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
798 MEM_ALLOC = BIT(11 + BPF_BASE_TYPE_BITS), enumerator4134 return type & MEM_ALLOC; in type_is_alloc()
99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of