2 #ifdef JEMALLOC_H_TYPES
6 #ifdef JEMALLOC_H_STRUCTS
10 #ifdef JEMALLOC_H_EXTERNS
12 #define atomic_read_uint64(p) atomic_add_uint64(p, 0)
13 #define atomic_read_uint32(p) atomic_add_uint32(p, 0)
14 #define atomic_read_p(p) atomic_add_p(p, NULL)
15 #define atomic_read_z(p) atomic_add_z(p, 0)
16 #define atomic_read_u(p) atomic_add_u(p, 0)
20 #ifdef JEMALLOC_H_INLINES
96 o = atomic_read_uint64(
p);
139 if (
sizeof (*
p) == 8) {
150 #if (LG_SIZEOF_PTR == 3)
153 #elif (LG_SIZEOF_PTR == 2)
163 #if (LG_SIZEOF_PTR == 3)
165 #elif (LG_SIZEOF_PTR == 2)
176 #if (LG_SIZEOF_PTR == 3)
178 #elif (LG_SIZEOF_PTR == 2)
188 if (
sizeof (*
p) == 8) {
197 if (
sizeof (*
p) == 8) {
209 if (
sizeof (*
p) == 8) {
221 #if (LG_SIZEOF_PTR == 3)
223 #elif (LG_SIZEOF_PTR == 2)
234 #if (LG_SIZEOF_INT == 3)
236 #elif (LG_SIZEOF_INT == 2)
245 #if (LG_SIZEOF_INT == 3)
248 #elif (LG_SIZEOF_INT == 2)
257 if (
sizeof(*
p) == 8) {
267 if (
sizeof(*
p) == 8) {
#define atomic_write_uint32
#define atomic_write_uint64
#define atomic_add_uint64
#define atomic_cas_uint32
#define atomic_add_uint32
#define atomic_cas_uint64
#define atomic_sub_uint64
#define atomic_sub_uint32