/freebsd/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/ |
H A D | mm_malloc.h | 21 extern int posix_memalign(void **, size_t, size_t); 23 extern "C" int posix_memalign(void **, size_t, size_t); 33 if (posix_memalign(&__ptr, __alignment, __size) == 0) in _mm_malloc()
|
/freebsd/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); 25 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size); 47 if (posix_memalign(&__mallocedMemory, __align, __size)) in _mm_malloc()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan_malloc_linux.cpp | 82 INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr size) { in INTERCEPTOR() argument 83 int res = REAL(posix_memalign)(memptr, align, size); in INTERCEPTOR() 111 INTERCEPT_FUNCTION(posix_memalign); in InitializeMallocInterceptors()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 141 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument 182 int (*posix_memalign)(void **memptr, uptr alignment, uptr size); member 195 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stub.cpp | 167 if ((err = posix_memalign(&res, a, sz))) { in kmp_aligned_malloc() 399 if ((err = posix_memalign(&res, a, size))) { in omp_aligned_alloc() 426 if ((err = posix_memalign(&res, a, nmemb * size))) { in omp_aligned_calloc()
|
H A D | kmp_barrier.h | 32 int n = posix_memalign(&ptr, alignment, size); in KMP_ALIGNED_ALLOCATE()
|
/freebsd/lib/libc/gen/ |
H A D | valloc.c | 40 if (posix_memalign(&ret, getpagesize(), i) != 0) in valloc()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 319 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) { in INTERCEPTOR() argument 321 return REAL(posix_memalign)(memptr, alignment, size); in INTERCEPTOR() 391 INTERCEPT_FUNCTION(posix_memalign); in InitializeInterceptors()
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | aligned_alloc.h | 46 (void)::posix_memalign(&__result, __alignment, __size); in __libcpp_aligned_alloc() 47 // If posix_memalign fails, __result is unmodified so we still return `nullptr`. in __libcpp_aligned_alloc()
|
/freebsd/lib/libc/stdlib/malloc/ |
H A D | Symbol.map | 5 posix_memalign;
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | config.h | 7 if (posix_memalign(&__ptr, (align), (size))) \
|
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/ |
H A D | public_namespace.h | 16 #define je_posix_memalign JEMALLOC_N(posix_memalign)
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_init.c | 67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, in acl_init()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 85 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument 210 INTERCEPT_FUNCTION(posix_memalign); in initialize_interceptors()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | scrypt_platform.c | 52 if ((errno = posix_memalign((void **) &base, 64, size)) != 0) { in alloc_region()
|
/freebsd/sbin/nvmecontrol/ |
H A D | passthru.c | 176 if (posix_memalign(&metadata, getpagesize(), opt.metadata_len)) { in passthru() 186 if (posix_memalign(&data, getpagesize(), opt.data_len)) { in passthru()
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_posix_memalign.c | 69 ret = posix_memalign(&p, align[i], size[i]); in ATF_TC_BODY()
|
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/ |
H A D | jemalloc.h | 77 # define je_posix_memalign posix_memalign 389 # define posix_memalign je_posix_memalign macro
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cpp | 64 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
|
/freebsd/lib/libc/stdlib/malloc/jemalloc/ |
H A D | Makefile.inc | 26 jemalloc.3 posix_memalign.3 \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
H A D | file_append.c | 155 err = posix_memalign((void **)&buf, sysconf(_SC_PAGE_SIZE), in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_malloc_linux.cpp | 128 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | umem.h | 108 rc = posix_memalign(&ptr, align, size); in umem_alloc_aligned()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 110 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() 559 INTERCEPT_FUNCTION(posix_memalign); in InitializeInterceptors() 108 INTERCEPTOR(int,posix_memalign,void ** memptr,uptr alignment,uptr size) INTERCEPTOR() argument
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | stride_dd.c | 310 int err = posix_memalign(&buf, alignment, bsize); in main()
|