Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/
H A Dmm_malloc.h21 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 Dmm_malloc.h19 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 Dnsan_malloc_linux.cpp82 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 Dasan_malloc_linux.cpp141 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 Dkmp_stub.cpp167 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 Dkmp_barrier.h32 int n = posix_memalign(&ptr, alignment, size); in KMP_ALIGNED_ALLOCATE()
/freebsd/lib/libc/gen/
H A Dvalloc.c40 if (posix_memalign(&ret, getpagesize(), i) != 0) in valloc()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors.cpp319 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 Daligned_alloc.h46 (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 DSymbol.map5 posix_memalign;
/freebsd/contrib/ofed/libibverbs/
H A Dconfig.h7 if (posix_memalign(&__ptr, (align), (size))) \
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h16 #define je_posix_memalign JEMALLOC_N(posix_memalign)
/freebsd/lib/libc/posix1e/
H A Dacl_init.c67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, in acl_init()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp85 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 Dscrypt_platform.c52 if ((errno = posix_memalign((void **) &base, 64, size)) != 0) { in alloc_region()
/freebsd/sbin/nvmecontrol/
H A Dpassthru.c176 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 Dt_posix_memalign.c69 ret = posix_memalign(&p, align[i], size[i]); in ATF_TC_BODY()
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/
H A Djemalloc.h77 # 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 Dtsan_malloc_mac.cpp64 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
/freebsd/lib/libc/stdlib/malloc/jemalloc/
H A DMakefile.inc26 jemalloc.3 posix_memalign.3 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_append.c155 err = posix_memalign((void **)&buf, sysconf(_SC_PAGE_SIZE), in main()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp128 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
/freebsd/sys/contrib/openzfs/lib/libspl/include/
H A Dumem.h108 rc = posix_memalign(&ptr, align, size); in umem_alloc_aligned()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp110 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 Dstride_dd.c310 int err = posix_memalign(&buf, alignment, bsize); in main()

123