HomeSort by: relevance | last modified time | path
    Searched refs:memptr (Results 1 - 23 of 23) sorted by relevancy

  /src/lib/libc/stdlib/
aligned_alloc.c 44 void *memptr; local in function:aligned_alloc
63 err = posix_memalign(&memptr, alignment, size);
69 return memptr;
malloc.c 1217 posix_memalign(void **memptr, size_t alignment, size_t size)
1242 *memptr = result;
jemalloc.c 3614 posix_memalign(void **memptr, size_t alignment, size_t size)
3659 *memptr = result;
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_malloc_mac.cc 43 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \
47 *memptr = p; \
50 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
51 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
tsan_mman.h 39 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align,
tsan_mman.cc 251 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align,
264 *memptr = ptr;
tsan_interceptors.cc 846 TSAN_INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr sz) {
851 *memptr = p;
854 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, align, sz);
855 return user_posix_memalign(thr, pc, memptr, align, sz);
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_malloc_mac.cc 41 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \
43 int res = asan_posix_memalign(memptr, alignment, size, &stack);
asan_malloc_linux.cc 65 static int PosixMemalignFromLocalPool(void **memptr, uptr alignment,
82 *memptr = (void*)aligned_addr;
216 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
218 return PosixMemalignFromLocalPool(memptr, alignment, size);
220 return asan_posix_memalign(memptr, alignment, size, &stack);
259 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
asan_allocator.h 233 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
asan_allocator.cc 939 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
951 *memptr = ptr;
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_malloc_mac.cc 40 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \
42 int res = lsan_posix_memalign(memptr, alignment, size, stack)
lsan_allocator.h 119 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size,
lsan_allocator.cc 141 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size,
153 *memptr = ptr;
lsan_interceptors.cc 87 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
90 return lsan_posix_memalign(memptr, alignment, size, stack);
  /src/sys/arch/evbmips/mipssim/
machdep.c 230 uint32_t *memptr; local in function:mach_init_memory
243 memptr = (void *)MIPS_PHYS_TO_KSEG1(addr - sizeof(*memptr));
245 if (badaddr(memptr, sizeof(uint32_t)) < 0)
265 memptr = (void *)MIPS_PHYS_TO_XKPHYS(CCA_CACHEABLE,
266 addr - sizeof(*memptr));
267 if (badaddr(memptr, sizeof(uint32_t)) < 0)
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
hwasan_interface.h 65 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc 152 int posix_memalign(void **memptr, size_t alignment, size_t size) {
155 *memptr = allocator.Allocate(&cache, size, alignment);
156 SANITIZER_MALLOC_HOOK(*memptr, size);
  /src/sys/arch/mips/mips/
in_cksum.c 58 union memptr { union
65 static inline uint32_t fastsum(union memptr, int, unsigned int, int);
77 fastsum(union memptr buf, int n, unsigned int oldsum, int odd_aligned)
252 /*u_short **/ union memptr w;
  /src/lib/libbsdmalloc/
malloc.c 561 posix_memalign(void **memptr, size_t alignment, size_t size)
573 *memptr = p;
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_allocator.cc 310 int msan_posix_memalign(void **memptr, uptr alignment, uptr size,
322 *memptr = ptr;
msan_interceptors.cc 170 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) {
172 CHECK_NE(memptr, 0);
173 int res = msan_posix_memalign(memptr, alignment, size, &stack);
175 __msan_unpoison(memptr, sizeof(*memptr));
msan.h 296 int msan_posix_memalign(void **memptr, uptr alignment, uptr size,

Completed in 30 milliseconds