Lines Matching refs:define
54 #define JEMALLOC_INTERNAL_DECLS_H
70 +# define JEMALLOC_INTERNAL_UNREACHABLE abort
88 #define JEMALLOC_NO_DEMANGLE
116 -# define isthreaded true
134 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
136 -#define open JEMALLOC_HOOK(open, test_hooks_libc_hook)
137 -#define read JEMALLOC_HOOK(read, test_hooks_libc_hook)
138 -#define write JEMALLOC_HOOK(write, test_hooks_libc_hook)
139 -#define readlink JEMALLOC_HOOK(readlink, test_hooks_libc_hook)
140 -#define close JEMALLOC_HOOK(close, test_hooks_libc_hook)
141 -#define creat JEMALLOC_HOOK(creat, test_hooks_libc_hook)
142 -#define secure_getenv JEMALLOC_HOOK(secure_getenv, test_hooks_libc_hook)
143 /* Note that this is undef'd and re-define'd in src/prof.c. */
144 #define _Unwind_Backtrace JEMALLOC_HOOK(_Unwind_Backtrace, test_hooks_libc_hook)
173 +#define JEMALLOC_DEBUG
181 + * The following are architecture-dependent, so conditionally define them for
193 +# define LG_VADDR 32
194 +# define LG_SIZEOF_PTR 2
195 +# define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
198 +# define LG_VADDR 64
199 +# define LG_SIZEOF_PTR 3
202 +# define LG_VADDR 64
203 +# define LG_SIZEOF_PTR 3
204 +# define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
207 +# define LG_VADDR 48
208 +# define LG_SIZEOF_PTR 3
209 +# define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
212 +# define LG_VADDR 32
213 +# define LG_SIZEOF_PTR 2
216 +# define LG_VADDR 48
217 +# define LG_SIZEOF_PTR 3
221 +# define LG_VADDR 64
222 +# define LG_SIZEOF_PTR 3
224 +# define LG_VADDR 32
225 +# define LG_SIZEOF_PTR 2
229 +# define LG_VADDR 64
230 +# define LG_SIZEOF_PTR 3
232 +# define LG_VADDR 32
233 +# define LG_SIZEOF_PTR 2
236 +# define LG_VADDR 48
237 +# define LG_SIZEOF_PTR 3
241 +# define JEMALLOC_TLS_MODEL /* Default. */
244 +#define LG_PAGE PAGE_SHIFT
245 +#define LG_SIZEOF_INT 2
246 +#define LG_SIZEOF_LONG LG_SIZEOF_PTR
247 +#define LG_SIZEOF_INTMAX_T 3
252 +#define CPU_SPINWAIT cpu_spinwait()
257 +#define isthreaded ((bool)__isthreaded)
283 +#define je_malloc __malloc
284 +#define je_calloc __calloc
285 +#define je_posix_memalign __posix_memalign
286 +#define je_aligned_alloc __aligned_alloc
287 +#define je_realloc __realloc
288 +#define je_free __free
289 +#define je_malloc_usable_size __malloc_usable_size
290 +#define je_mallocx __mallocx
291 +#define je_rallocx __rallocx
292 +#define je_xallocx __xallocx
293 +#define je_sallocx __sallocx
294 +#define je_dallocx __dallocx
295 +#define je_sdallocx __sdallocx
296 +#define je_nallocx __nallocx
297 +#define je_mallctl __mallctl
298 +#define je_mallctlnametomib __mallctlnametomib
299 +#define je_mallctlbymib __mallctlbymib
300 +#define je_malloc_stats_print __malloc_stats_print
301 +#define je_allocm __allocm
302 +#define je_rallocm __rallocm
303 +#define je_sallocm __sallocm
304 +#define je_dallocm __dallocm
305 +#define je_nallocm __nallocm
306 +#define open _open
307 +#define read _read
308 +#define write _write
309 +#define close _close
310 +#define pthread_join _pthread_join
311 +#define pthread_once _pthread_once
312 +#define pthread_self _pthread_self
313 +#define pthread_equal _pthread_equal
314 +#define pthread_mutex_lock _pthread_mutex_lock
315 +#define pthread_mutex_trylock _pthread_mutex_trylock
316 +#define pthread_mutex_unlock _pthread_mutex_unlock
317 +#define pthread_cond_init _pthread_cond_init
318 +#define pthread_cond_wait _pthread_cond_wait
319 +#define pthread_cond_timedwait _pthread_cond_timedwait
320 +#define pthread_cond_signal _pthread_cond_signal
411 +#define ALLOCM_LG_ALIGN(la) (la)
412 +#define ALLOCM_ALIGN(a) (ffsl(a)-1)
413 +#define ALLOCM_ZERO ((int)0x40)
414 +#define ALLOCM_NO_MOVE ((int)0x80)
416 +#define ALLOCM_SUCCESS 0
417 +#define ALLOCM_ERR_OOM 1
418 +#define ALLOCM_ERR_NOT_MOVED 2