Home
last modified time | relevance | path

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

1234567

/external/u-boot/lib/
Dlinux_compat.c21 p = memalign(ARCH_DMA_MINALIGN, size); in kmalloc()
32 ret = memalign(ARCH_DMA_MINALIGN, sizeof(struct kmem_cache)); in get_mem()
40 return memalign(ARCH_DMA_MINALIGN, obj->sz); in kmem_cache_alloc()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc88 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
158 void *(*memalign)(uptr alignment, uptr bytes); member
168 void *(*memalign)(uptr alignment, uptr bytes); member
177 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
181 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/external/pdfium/third_party/libopenjpeg20/
Dopj_malloc.h124 extern void* memalign(size_t, size_t);
126 #define opj_aligned_malloc(size) memalign(16, (size))
128 #define opj_aligned_32_malloc(size) memalign(32, (size))
D0034-opj_malloc.patch101 + extern void* memalign(size_t, size_t);
103 + #define opj_aligned_malloc(size) memalign(16, (size))
105 + #define opj_aligned_32_malloc(size) memalign(32, (size))
/external/u-boot/env/
Dsf.c113 saved_buffer = memalign(ARCH_DMA_MINALIGN, saved_size); in env_sf_save()
171 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load()
173 tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load()
269 buf = (char *)memalign(ARCH_DMA_MINALIGN, CONFIG_ENV_SIZE); in env_sf_load()
/external/compiler-rt/test/scudo/
Dmemalign.cpp24 p = memalign(alignment, size); in main()
39 p = memalign(alignment - 1, size); in main()
Dmismatch.cpp33 int *p = (int *)memalign(0x10, 0x10); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
70 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
/external/u-boot/drivers/net/
Dfsl_mcdmafec.c509 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
538 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
541 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcdmafec_initialize()
544 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcdmafec_initialize()
552 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.c548 (struct eth_device *)memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
577 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
580 (cbd_t *) memalign(CONFIG_SYS_CACHELINE_SIZE, in mcffec_initialize()
583 (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, DBUF_LENGTH); in mcffec_initialize()
591 fec_info[i].phy_name = (char *)memalign(CONFIG_SYS_CACHELINE_SIZE, 32); in mcffec_initialize()
Dmvgbe.c703 (struct mvgbe_rxdesc *)memalign(PKTALIGN, in mvgbe_initialize()
709 dmvgbe->p_rxbuf = (u8 *) memalign(PKTALIGN, in mvgbe_initialize()
715 dmvgbe->p_aligned_txbuf = memalign(8, PKTSIZE_ALIGN); in mvgbe_initialize()
720 dmvgbe->p_txdesc = (struct mvgbe_txdesc *) memalign( in mvgbe_initialize()
/external/linux-kselftest/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c79 s1 = memalign(128, alloc_size); in testcase()
85 s2 = memalign(128, alloc_size); in testcase()
/external/u-boot/include/
Dmalloc.h866 #pragma weak memalign = __libc_memalign macro
878 #define memalign memalign_simple macro
899 # define mEMALIGn memalign
/external/u-boot/arch/nds32/include/asm/
Ddma-mapping.h13 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/external/u-boot/arch/x86/include/asm/
Ddma-mapping.h16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/external/u-boot/arch/arm/include/asm/
Ddma-mapping.h16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
/external/libchrome/base/memory/
Daligned_memory.cc29 ptr = memalign(alignment, size); in AlignedAlloc()
/external/jemalloc/include/jemalloc/internal/
Dpublic_symbols.txt21 memalign:je_memalign
Dpublic_namespace.h21 #define je_memalign JEMALLOC_N(memalign)
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc16 return memalign(boundary, size); in my_memalign()
/external/speex/libspeexdsp/
Dkiss_fft.h28 #define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
/external/u-boot/cmd/
Dsf.c226 cmp_buf = memalign(ARCH_DMA_MINALIGN, flash->sector_size); in spi_flash_update()
518 vbuf = memalign(ARCH_DMA_MINALIGN, len); in do_spi_flash_test()
523 buf = memalign(ARCH_DMA_MINALIGN, len); in do_spi_flash_test()
/external/ltp/android/include/
Dbionic-compat.h48 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc89 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() argument
283 INTERCEPT_FUNCTION(memalign); in InitializeInterceptors()

1234567