/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cpp | 57 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument 61 *memptr = p; \ 64 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \ 65 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
|
H A D | tsan_mman.h | 43 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align,
|
H A D | tsan_mman.cpp | 322 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign() argument 335 *memptr = ptr; in user_posix_memalign()
|
/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() 84 if (res == 0 && *memptr) in INTERCEPTOR() 85 __nsan_set_value_unknown(static_cast<u8 *>(*memptr), size); in INTERCEPTOR()
|
/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 86 CHECK_NE(memptr, 0); in INTERCEPTOR() 87 int res = __dfsan::dfsan_posix_memalign(memptr, alignment, size); in INTERCEPTOR() 89 dfsan_set_label(0, memptr, sizeof(*memptr)); in INTERCEPTOR()
|
H A D | dfsan_allocator.cpp | 282 int dfsan_posix_memalign(void **memptr, uptr alignment, uptr size) { in dfsan_posix_memalign() argument 294 *memptr = ptr; in dfsan_posix_memalign()
|
H A D | dfsan.h | 106 int dfsan_posix_memalign(void **memptr, uptr alignment, uptr size);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocation_functions.cpp | 43 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign() argument 45 CHECK_NE(memptr, 0); in __sanitizer_posix_memalign() 46 int res = hwasan_posix_memalign(memptr, alignment, size, &stack); in __sanitizer_posix_memalign() 171 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
|
H A D | hwasan.h | 135 int hwasan_posix_memalign(void **memptr, uptr alignment, uptr size,
|
H A D | hwasan_allocator.cpp | 517 int hwasan_posix_memalign(void **memptr, uptr alignment, uptr size, in hwasan_posix_memalign() argument 529 *memptr = ptr; in hwasan_posix_memalign()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_malloc_mac.cpp | 39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument 41 int res = lsan_posix_memalign(memptr, alignment, size, stack)
|
H A D | lsan_allocator.cpp | 179 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size, in lsan_posix_memalign() argument 191 *memptr = ptr; in lsan_posix_memalign()
|
H A D | lsan_allocator.h | 124 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size,
|
H A D | lsan_interceptors.cpp | 110 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() 113 return lsan_posix_memalign(memptr, alignment, size, stack); 108 INTERCEPTOR(int,posix_memalign,void ** memptr,uptr alignment,uptr size) INTERCEPTOR() argument
|
/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 143 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR() 182 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
|
/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 130 return memprof_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
|
H A D | memprof_allocator.h | 100 int memprof_posix_memalign(void **memptr, uptr alignment, uptr size,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_malloc_mac.inc | 170 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) { 172 CHECK(memptr); 173 COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size);
|
/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()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 400 int msan_posix_memalign(void **memptr, uptr alignment, uptr size, in msan_posix_memalign() argument 413 *memptr = ptr; in msan_posix_memalign()
|
H A D | msan_interceptors.cpp | 161 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument 163 CHECK_NE(memptr, 0); in INTERCEPTOR() 164 int res = msan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR() 166 __msan_unpoison(memptr, sizeof(*memptr)); in INTERCEPTOR()
|
H A D | msan.h | 282 int msan_posix_memalign(void **memptr, uptr alignment, uptr size,
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_hw.c | 934 struct irdma_dma_mem *memptr, u32 size, in irdma_obj_aligned_mem() argument 945 memptr->va = (u8 *)va + extra; in irdma_obj_aligned_mem() 946 memptr->pa = rf->obj_next.pa + extra; in irdma_obj_aligned_mem() 947 memptr->size = size; in irdma_obj_aligned_mem() 948 if (((u8 *)memptr->va + size) > ((u8 *)rf->obj_mem.va + rf->obj_mem.size)) in irdma_obj_aligned_mem() 951 rf->obj_next.va = (u8 *)memptr->va + size; in irdma_obj_aligned_mem() 952 rf->obj_next.pa = memptr->pa + size; in irdma_obj_aligned_mem()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c.inc | 148 INTERFACE WEAK int SCUDO_PREFIX(posix_memalign)(void **memptr, size_t alignment, 161 *memptr = Ptr;
|
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/ |
H A D | jemalloc.h | 233 JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr,
|