/freebsd-12-stable/contrib/gcc/config/i386/ |
H A D | pmm_malloc.h | 32 /* 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 D | mm_malloc.h | 17 /* 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 D | valloc.c | 44 if (posix_memalign(&ret, getpagesize(), i) != 0)
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | mm_malloc.h | 19 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 D | config.h | 7 if (posix_memalign(&__ptr, (align), (size))) \
|
/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | public_namespace.h | 15 #define je_posix_memalign JEMALLOC_N(posix_memalign)
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_malloc.cpp | 44 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 D | scrypt_platform.c | 52 if ((errno = posix_memalign((void **) &base, 64, size)) != 0) {
|
/freebsd-12-stable/lib/libc/posix1e/ |
H A D | acl_init.c | 70 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS,
|
/freebsd-12-stable/lib/libc/stdlib/jemalloc/ |
H A D | Makefile.inc | 29 jemalloc.3 posix_memalign.3 \
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cpp | 49 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_posix_memalign.c | 49 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 D | asan_malloc_linux.cpp | 223 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 D | sanitizer_rtems.cpp | 16 #define posix_memalign __real_posix_memalign macro 32 #define __mmap_alloc_aligned posix_memalign
|
H A D | sanitizer_allocator.cpp | 42 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 D | new.cpp | 185 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 D | jemalloc_FreeBSD.h | 164 __weak_reference(__posix_memalign, posix_memalign);
|
H A D | jemalloc.h | 73 # define je_posix_memalign posix_memalign 377 # define posix_memalign je_posix_memalign macro
|
/freebsd-12-stable/sbin/nvmecontrol/ |
H A D | passthru.c | 180 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 D | lsan_interceptors.cpp | 92 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 D | hwasan_interceptors.cpp | 185 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
|
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stub.cpp | 167 if ((err = posix_memalign(&res, a, sz))) {
|
/freebsd-12-stable/include/ |
H A D | stdlib.h | 179 int posix_memalign(void **, size_t, size_t); /* (ADV) */
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | emutls.c | 59 // 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 D | buf.c | 551 ret = posix_memalign(&buf->buf, page_size, al_size);
|