Home
last modified time | relevance | path

Searched refs:posix_memalign (Results 1 – 20 of 20) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch78 -int posix_memalign(void** memptr, size_t alignment, size_t size) noexcept
79 +int posix_memalign(void** memptr, size_t alignment, size_t size) NOEXECPT
81 if (!hooks::posix_memalign) {
83 @@ -268,7 +274,7 @@ int posix_memalign(void** memptr, size_t alignment, size_t size) noexcept
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A Dmm_malloc.patch11 // glibc's `posix_memalign()` declaration specifies `throw()` while clang's
/openbmc/linux/tools/testing/radix-tree/
H A Dlinux.c79 posix_memalign(&p, cachep->align, cachep->size); in kmem_cache_alloc_lru()
167 posix_memalign(&p[i], cachep->align, in kmem_cache_alloc_bulk()
/openbmc/qemu/util/
H A Dmemalign.c53 ret = posix_memalign(&ptr, alignment, size); in qemu_try_memalign()
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dfill_buf.c122 ret = posix_memalign(&buf, PAGE_SIZE, buf_size); in alloc_buffer()
/openbmc/linux/tools/virtio/linux/
H A Dkernel.h102 posix_memalign(&p, PAGE_SIZE, PAGE_SIZE); in __get_free_page()
/openbmc/linux/samples/acrn/
H A Dvm-sample.c56 ret = posix_memalign(&guest_memory, 4096, GUEST_MEMORY_SIZE); in main()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c169 FAIL_IF(posix_memalign(&mallocblock, 64 * 1024, mallocsize)); in test_anon()
/openbmc/linux/tools/virtio/ringtest/
H A Dring.c82 ret = posix_memalign((void **)&ring, 0x1000, ring_size * sizeof *ring); in alloc_ring()
H A Dvirtio_ring_0_9.c70 ret = posix_memalign(&p, 0x1000, vring_size(ring_size, 0x1000)); in alloc_ring()
/openbmc/linux/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c246 rc = posix_memalign(&mem0, bufsize, bufsize); in do_test()
252 rc = posix_memalign(&mem1, bufsize, bufsize); in do_test()
/openbmc/linux/tools/testing/selftests/mm/
H A Duffd-stress.c256 if (posix_memalign(&area, page_size, page_size)) in userfaultfd_stress()
/openbmc/linux/tools/virtio/
H A Dvirtio_test.c118 r = posix_memalign(&info->ring, 4096, vring_size(num, 4096)); in vq_info_add()
H A Dvringh_test.c482 if (posix_memalign(&__user_addr_min, PAGE_SIZE, USER_MEM) != 0) in main()
/openbmc/linux/tools/testing/selftests/x86/
H A Dlam.c524 if (posix_memalign(&buf, URING_BLOCK_SZ, URING_BLOCK_SZ)) in handle_uring_sq()
/openbmc/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst418 aligned. posix_memalign() can provide that guarantee.
/openbmc/linux/Documentation/filesystems/
H A Dorangefs.rst249 At startup userspace allocates two page-size-aligned (posix_memalign)
/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd.c44 rc = posix_memalign(&buffer, HUGEPAGE_SIZE, BUFFER_SIZE); in setup_sizes()
/openbmc/qemu/docs/devel/
H A Dstyle.rst428 Use of the ``malloc/free/realloc/calloc/valloc/memalign/posix_memalign``
/openbmc/qemu/
H A Dmeson.build2609 # thinking that Windows has posix_memalign()
2610 config_host_data.set('CONFIG_POSIX_MEMALIGN', cc.has_function('posix_memalign', prefix: '#include <…