Home
last modified time | relevance | path

Searched refs:memptr (Results 1 – 25 of 90) sorted by relevance

1234

/netbsd-src/sys/arch/evbmips/mipssim/
H A Dmachdep.c230 uint32_t *memptr; in mach_init_memory() local
243 memptr = (void *)MIPS_PHYS_TO_KSEG1(addr - sizeof(*memptr)); in mach_init_memory()
245 if (badaddr(memptr, sizeof(uint32_t)) < 0) in mach_init_memory()
265 memptr = (void *)MIPS_PHYS_TO_XKPHYS(CCA_CACHEABLE, in mach_init_memory()
266 addr - sizeof(*memptr)); in mach_init_memory()
267 if (badaddr(memptr, sizeof(uint32_t)) < 0) in mach_init_memory()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_malloc_mac.cc43 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
47 *memptr = p; \
50 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
51 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_malloc_mac.cc41 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
45 *memptr = p; \
48 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
49 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_malloc_mac.cpp42 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
46 *memptr = p; \
49 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
50 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
/netbsd-src/external/gpl3/gcc/dist/libgfortran/caf/
H A Dsingle.c41 void *memptr; member
51 #define MEMTOK(X) ((caf_single_token_t) (X))->memptr
175 single_token->memptr = local; in _gfortran_caf_register()
203 if (single_token->owning_memory && single_token->memptr) in _gfortran_caf_deregister()
204 free (single_token->memptr); in _gfortran_caf_deregister()
213 single_token->memptr = NULL; in _gfortran_caf_deregister()
1572 void *memptr = single_token->memptr; in _gfortran_caf_get_by_ref() local
1603 (memptr + riter->u.c.caf_token_offset); in _gfortran_caf_get_by_ref()
1604 memptr = single_token->memptr; in _gfortran_caf_get_by_ref()
1609 memptr += riter->u.c.offset; in _gfortran_caf_get_by_ref()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/caf/
H A Dsingle.c41 void *memptr; member
51 #define MEMTOK(X) ((caf_single_token_t) (X))->memptr
175 single_token->memptr = local; in _gfortran_caf_register()
203 if (single_token->owning_memory && single_token->memptr) in _gfortran_caf_deregister()
204 free (single_token->memptr); in _gfortran_caf_deregister()
213 single_token->memptr = NULL; in _gfortran_caf_deregister()
1572 void *memptr = single_token->memptr; in _gfortran_caf_get_by_ref() local
1603 (memptr + riter->u.c.caf_token_offset); in _gfortran_caf_get_by_ref()
1604 memptr = single_token->memptr; in _gfortran_caf_get_by_ref()
1609 memptr += riter->u.c.offset; in _gfortran_caf_get_by_ref()
[all …]
/netbsd-src/lib/libc/stdlib/
H A Daligned_alloc.c44 void *memptr; in aligned_alloc()
63 err = posix_memalign(&memptr, alignment, size); in aligned_alloc()
69 return memptr;
41 void *memptr; aligned_alloc() local
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cc63 static int PosixMemalignFromLocalPool(void **memptr, uptr alignment, in PosixMemalignFromLocalPool() argument
80 *memptr = (void*)aligned_addr; in PosixMemalignFromLocalPool()
214 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
216 return PosixMemalignFromLocalPool(memptr, alignment, size); in INTERCEPTOR()
218 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
257 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
H A Dasan_malloc_mac.cc39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
41 int res = asan_posix_memalign(memptr, alignment, size, &stack);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_malloc_linux.cc65 static int PosixMemalignFromLocalPool(void **memptr, uptr alignment, in PosixMemalignFromLocalPool() argument
82 *memptr = (void*)aligned_addr; in PosixMemalignFromLocalPool()
216 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
218 return PosixMemalignFromLocalPool(memptr, alignment, size); in INTERCEPTOR()
220 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
259 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
H A Dasan_malloc_mac.cc41 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
43 int res = asan_posix_memalign(memptr, alignment, size, &stack);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_allocation_functions.cpp32 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign() argument
34 CHECK_NE(memptr, 0); in __sanitizer_posix_memalign()
35 int res = hwasan_posix_memalign(memptr, alignment, size, &stack); in __sanitizer_posix_memalign()
153 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
/netbsd-src/sys/arch/mips/mips/
H A Din_cksum.c58 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) in fastsum()
252 /*u_short **/ union memptr w; in in_cksum_internal()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc152 int posix_memalign(void **memptr, size_t alignment, size_t size) { in posix_memalign() argument
155 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
156 SANITIZER_MALLOC_HOOK(*memptr, size); in posix_memalign()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_malloc_mac.cc38 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
40 int res = lsan_posix_memalign(memptr, alignment, size, stack)
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_malloc_mac.cc40 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
42 int res = lsan_posix_memalign(memptr, alignment, size, stack)
H A Dlsan_allocator.cc141 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size, in lsan_posix_memalign() argument
153 *memptr = ptr; in lsan_posix_memalign()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_malloc_mac.cpp39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
41 int res = lsan_posix_memalign(memptr, alignment, size, stack)
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_malloc_linux.cpp144 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
146 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
185 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
H A Dasan_malloc_mac.cpp41 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
43 int res = asan_posix_memalign(memptr, alignment, size, &stack);
/netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dhwasan_interface.h65 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
H A Dhwasan_interface.h63 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/
H A Dhwasan_interface.h79 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_malloc_mac.inc147 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) {
149 CHECK(memptr);
150 COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_malloc_mac.inc167 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) {
169 CHECK(memptr);
170 COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size);

1234