Searched refs:posix_memalign (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-12-stable/contrib/gcc/config/i386/
H A Dpmm_malloc.h32 /* We can't depend on <stdlib.h> since the prototype of posix_memalign
35 extern int posix_memalign (void **, size_t, size_t);
37 extern "C" int posix_memalign (void **, size_t, size_t);
48 if (posix_memalign (&ptr, alignment, size) == 0)
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/
H A Dmm_malloc.h17 /* We can't depend on <stdlib.h> since the prototype of posix_memalign
20 extern int posix_memalign (void **, size_t, size_t);
22 extern "C" int posix_memalign (void **, size_t, size_t) throw ();
34 if (posix_memalign (&ptr, alignment, size) == 0)
/freebsd-12-stable/lib/libc/gen/
H A Dvalloc.c44 if (posix_memalign(&ret, getpagesize(), i) != 0)
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/
H A Dmm_malloc.h19 extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
21 // Some systems (e.g. those with GNU libc) declare posix_memalign with an
25 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
47 if (posix_memalign(&__mallocedMemory, __align, __size))
/freebsd-12-stable/contrib/ofed/libibverbs/
H A Dconfig.h7 if (posix_memalign(&__ptr, (align), (size))) \
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h15 #define je_posix_memalign JEMALLOC_N(posix_memalign)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp44 int posix_memalign(void **memptr, size_t alignment, size_t size) { function
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dscrypt_platform.c52 if ((errno = posix_memalign((void **) &base, 64, size)) != 0) {
/freebsd-12-stable/lib/libc/posix1e/
H A Dacl_init.c70 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS,
/freebsd-12-stable/lib/libc/stdlib/jemalloc/
H A DMakefile.inc29 jemalloc.3 posix_memalign.3 \
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cpp49 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_posix_memalign.c49 atf_tc_set_md_var(tc, "descr", "Checks posix_memalign(3)");
67 (void)printf("Checking posix_memalign(&p, %zu, %zu)...\n",
69 ret = posix_memalign(&p, align[i], size[i]);
73 "posix_memalign: %s", strerror(ret));
76 "posix_memalign: %s", strerror(ret));
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp223 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
266 int (*posix_memalign)(void **memptr, uptr alignment, uptr size); member in struct:MallocDebugL
279 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_rtems.cpp16 #define posix_memalign __real_posix_memalign macro
32 #define __mmap_alloc_aligned posix_memalign
H A Dsanitizer_allocator.cpp42 uptr error = posix_memalign(&p, alignment, size);
60 // Windows does not provide __libc_memalign/posix_memalign. It provides
/freebsd-12-stable/contrib/llvm-project/libcxx/src/
H A Dnew.cpp185 while (::posix_memalign(&p, static_cast<size_t>(alignment), size) != 0)
188 // If posix_memalign fails and there is a new_handler,
197 p = nullptr; // posix_memalign doesn't initialize 'p' on failure
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/
H A Djemalloc_FreeBSD.h164 __weak_reference(__posix_memalign, posix_memalign);
H A Djemalloc.h73 # define je_posix_memalign posix_memalign
377 # define posix_memalign je_posix_memalign macro
/freebsd-12-stable/sbin/nvmecontrol/
H A Dpassthru.c180 if (posix_memalign(&metadata, getpagesize(), opt.metadata_len)) {
190 if (posix_memalign(&data, getpagesize(), opt.data_len)) {
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp92 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
493 INTERCEPT_FUNCTION(posix_memalign);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp185 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stub.cpp167 if ((err = posix_memalign(&res, a, sz))) {
/freebsd-12-stable/include/
H A Dstdlib.h179 int posix_memalign(void **, size_t, size_t); /* (ADV) */
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Demutls.c59 // Default is not to use posix_memalign, so systems like Android
68 if (posix_memalign(&base, align, size) != 0)
/freebsd-12-stable/contrib/ofed/libmlx5/
H A Dbuf.c551 ret = posix_memalign(&buf->buf, page_size, al_size);

Completed in 304 milliseconds

12