Home
last modified time | relevance | path

Searched refs:MAF_NEX (Results 1 – 8 of 8) sorted by relevance

/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h94 #define nex_malloc(size) __mdbg_alloc(MAF_NEX, NULL, 1, 1, \
96 #define nex_calloc(nmemb, size) __mdbg_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, \
99 #define nex_realloc(ptr, size) __mdbg_alloc(MAF_NEX, (ptr), 1, 1, \
101 #define nex_memalign(align, size) __mdbg_alloc(MAF_NEX, NULL, (align), 1, \
H A Dmalloc_flags.h27 #define MAF_NEX 0x02 /* Allocate from nexus heap */ macro
/optee_os/core/include/mm/
H A Dtee_mm.h18 #define TEE_MM_POOL_NEX_MALLOC MAF_NEX
/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c602 if (flags & MAF_NEX) in get_ctx()
926 return mem_alloc(MAF_NEX, NULL, 1, 1, size, __FILE__, __LINE__); in nex_malloc()
931 return mem_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, nmemb, size, in nex_calloc()
937 return mem_alloc(MAF_NEX, ptr, 1, 1, size, __FILE__, __LINE__); in nex_realloc()
942 return mem_alloc(MAF_NEX, NULL, alignment, 1, size, __FILE__, __LINE__); in nex_memalign()
956 free_flags(MAF_NEX, ptr); in nex_free()
/optee_os/core/mm/
H A Dpage_alloc.c57 if (IS_ENABLED(CFG_NS_VIRTUALIZATION) && (flags & MAF_NEX)) { in virt_page_alloc()
H A Dphys_mem.c232 if (!(flags & MAF_NEX)) { in phys_mem_alloc_flags()
H A Dtee_mm.c135 flags &= ~MAF_NEX; /* This flag must come from pool->flags */ in tee_mm_alloc_flags()
/optee_os/core/kernel/
H A Dthread.c515 flags |= MAF_NEX; in alloc_stack()