Home
last modified time | relevance | path

Searched refs:memalign (Results 1 – 10 of 10) sorted by relevance

/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h26 void *memalign(size_t alignment, size_t size);
48 #define memalign(align, size) __mdbg_alloc(MAF_NULL, NULL, (align), 1, \ macro
135 #define nex_memalign(alignment, size) memalign(alignment, size)
/optee_os/core/kernel/
H A Dtee_misc.c132 ptr = memalign(cacheline_size, alloc_size); in alloc_cache_aligned()
/optee_os/core/pta/tests/
H A Dmisc.c384 p3 = memalign(0x1000, 1024); in self_test_malloc()
388 p4 = memalign(0x100, 512); in self_test_malloc()
407 p3 = memalign(100, 1024); in self_test_malloc()
409 p4 = memalign(0, 1024); in self_test_malloc()
/optee_os/core/drivers/crypto/aspeed/
H A Dhace_ast2600.c343 hctx->buf = memalign(HASH_BLK_BUFSZ, HASH_BLK_BUFSZ); in ast2600_hace_alloc()
347 hctx->digest = memalign(HASH_DGT_BUFSZ, HASH_DGT_BUFSZ); in ast2600_hace_alloc()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhisi_qm.c367 qp->sqe = memalign(HISI_QM_ALIGN128, sq_size); in qp_alloc()
373 qp->cqe = memalign(HISI_QM_ALIGN32, cq_size); in qp_alloc()
418 xqc->sqc = memalign(HISI_QM_ALIGN32, sqc_size); in hisi_qm_alloc_xqc()
426 xqc->cqc = memalign(HISI_QM_ALIGN32, cqc_size); in hisi_qm_alloc_xqc()
/optee_os/core/drivers/
H A Dversal_mbox.c278 mem->buf = memalign(CACHELINE_LEN, ROUNDUP(len, CACHELINE_LEN)); in versal_mbox_alloc()
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_mem.c57 ptr = memalign(cacheline_size, alloc_size); in mem_alloc()
/optee_os/core/arch/riscv/kernel/
H A Dsbi_mpxy.c95 shmem = memalign(SMALL_PAGE_SIZE, SMALL_PAGE_SIZE); in sbi_mpxy_set_shmem()
/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c736 #undef memalign
737 void *memalign(size_t alignment, size_t size) in memalign() function
/optee_os/
H A DCHANGELOG.md800 * HiKey960: assertion in bget create_free_block() \[memalign() self-test\] ([#2414])