Home
last modified time | relevance | path

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

123456

/third_party/uboot/u-boot-2020.01/env/
Dsf.c101 saved_buffer = memalign(ARCH_DMA_MINALIGN, saved_size); in env_sf_save()
159 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load()
161 tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load()
257 buf = (char *)memalign(ARCH_DMA_MINALIGN, CONFIG_ENV_SIZE); in env_sf_load()
/third_party/ffmpeg/libavutil/
Dmem.c49 #define memalign AV_JOIN(MALLOC_PREFIX, memalign) macro
55 void *memalign(size_t align, size_t size);
92 ptr = memalign(ALIGN, size); in av_malloc()
94 ptr = memalign(size, ALIGN); in av_malloc()
/third_party/musl/src/legacy/
Dvalloc.c7 return memalign(PAGE_SIZE, size); in valloc()
/third_party/uboot/u-boot-2020.01/drivers/net/
Dfsl_mcdmafec.c510 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
539 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
542 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
545 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcdmafec_initialize()
553 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcdmafec_initialize()
Darmada100_fec.c677 darmdfec->htpr = memalign(8, HASH_ADDR_TABLE_SIZE); in armada100_fec_register()
681 darmdfec->p_rxdesc = memalign(PKTALIGN, in armada100_fec_register()
687 darmdfec->p_rxbuf = memalign(PKTALIGN, RINGSZ * PKTSIZE_ALIGN + 1); in armada100_fec_register()
691 darmdfec->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in armada100_fec_register()
695 darmdfec->p_txdesc = memalign(PKTALIGN, sizeof(struct tx_desc) + 1); in armada100_fec_register()
Dmcffec.c549 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
578 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
581 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
584 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcffec_initialize()
592 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcffec_initialize()
/third_party/musl/porting/liteos_m/kernel/include/
Dmalloc.h17 void *memalign(size_t, size_t);
/third_party/uboot/u-boot-2020.01/include/
Dmalloc.h866 #pragma weak memalign = __libc_memalign macro
878 #define memalign memalign_simple macro
899 # define mEMALIGn memalign
Dmemalign.h111 return memalign(ARCH_DMA_MINALIGN, ALIGN(size, ARCH_DMA_MINALIGN)); in malloc_cache_aligned()
/third_party/uboot/u-boot-2020.01/arch/nds32/include/asm/
Ddma-mapping.h13 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/third_party/boost/boost/align/detail/
Daligned_alloc_sunos.hpp22 return ::memalign(alignment, size); in aligned_alloc()
Daligned_alloc_android.hpp22 return ::memalign(alignment, size); in aligned_alloc()
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/
Ddma-mapping.h16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/third_party/uboot/u-boot-2020.01/arch/riscv/include/asm/
Ddma-mapping.h18 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/
Ddma-mapping.h16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, ROUND(len, ARCH_DMA_MINALIGN)); in dma_alloc_coherent()
/third_party/musl/
Ddynamic.list13 memalign;
/third_party/musl/porting/linux/user/src/hook/
Dmusl_malloc_dispatch.h28 MallocMemalignType memalign; member
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Daligned_memory.cpp37 ptr = memalign(alignment, size); in AlignedAlloc()
/third_party/skia/third_party/externals/angle2/src/common/
Daligned_memory.cpp37 ptr = memalign(alignment, size); in AlignedAlloc()
/third_party/musl/include/
Dmalloc.h17 void *memalign(size_t, size_t);
/third_party/uboot/u-boot-2020.01/lib/
Dlinux_compat.c33 ret = memalign(ARCH_DMA_MINALIGN, sizeof(struct kmem_cache)); in get_mem()
/third_party/musl/src/malloc/
Dmemalign.c54 weak_alias(__memalign, memalign);
/third_party/uboot/u-boot-2020.01/drivers/nvme/
Dnvme.c105 dev->prp_pool = memalign(page_size, num_pages * page_size); in nvme_setup_prps()
240 nvmeq->cqes = (void *)memalign(4096, NVME_CQ_SIZE(depth)); in nvme_alloc_queue()
245 nvmeq->sq_cmds = (void *)memalign(4096, NVME_SQ_SIZE(depth)); in nvme_alloc_queue()
592 ctrl = memalign(dev->page_size, sizeof(struct nvme_id_ctrl)); in nvme_get_info_from_identify()
675 id = memalign(ndev->page_size, sizeof(struct nvme_id_ns)); in nvme_blk_probe()
838 ndev->prp_pool = memalign(ndev->page_size, MAX_PRP_POOL); in nvme_probe()
/third_party/uboot/u-boot-2020.01/common/
Dbouncebuf.c44 state->bounce_buffer = memalign(ARCH_DMA_MINALIGN, in bounce_buffer_start()
/third_party/e2fsprogs/lib/ext2fs/
Dinline.c59 *p = memalign(align, size); in ext2fs_get_memalign()

123456