Home
last modified time | relevance | path

Searched refs:mem_alloc (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_mem.c40 static void *mem_alloc(size_t size, uint8_t type) in mem_alloc() function
97 buf->data = mem_alloc(size, type); in mem_alloc_buf()
115 return mem_alloc(size, MEM_TYPE_NORMAL); in caam_alloc()
120 return mem_alloc(size, MEM_TYPE_ZEROED); in caam_calloc()
125 return mem_alloc(size, MEM_TYPE_ZEROED | MEM_TYPE_ALIGN); in caam_calloc_align()
135 return mem_alloc(DESC_SZBYTES(nbentries), in caam_calloc_desc()
/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c608 static void *mem_alloc(uint32_t flags, void *ptr, size_t alignment, in mem_alloc() function
668 return mem_alloc(flags, ptr, alignment, nmemb, size, fname, lineno); in __mdbg_alloc()
714 return mem_alloc(MAF_NULL, NULL, 1, 1, size, __FILE__, __LINE__); in malloc()
720 return mem_alloc(flags, ptr, alignment, 1, size, __FILE__, __LINE__); in malloc_flags()
726 return mem_alloc(MAF_ZERO_INIT, NULL, 1, nmemb, size, __FILE__, in calloc()
733 return mem_alloc(MAF_NULL, ptr, 1, 1, size, __FILE__, __LINE__); in realloc()
739 return mem_alloc(MAF_NULL, NULL, alignment, 1, size, __FILE__, in memalign()
750 return mem_alloc(MAF_NULL, NULL, alignment, 1, size, __FILE__, in aligned_alloc()
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()
[all …]
/optee_os/core/mm/
H A Dboot_mem.c102 static void *mem_alloc(struct boot_mem_desc *desc, size_t len, size_t align) in mem_alloc() function
236 return mem_alloc(boot_mem_desc, len, align); in boot_mem_alloc()