Home
last modified time | relevance | path

Searched refs:LG_SIZEOF_PTR (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dbit_util.h51 #if LG_SIZEOF_PTR == LG_SIZEOF_INT in ffs_zu()
53 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG in ffs_zu()
55 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG_LONG in ffs_zu()
145 #if (LG_SIZEOF_PTR == 3) in pow2_ceil_zu()
172 #if (LG_SIZEOF_PTR == 3) in lg_floor()
174 #elif (LG_SIZEOF_PTR == 2) in lg_floor()
187 #if (LG_SIZEOF_PTR == LG_SIZEOF_INT) in lg_floor()
188 return ((8 << LG_SIZEOF_PTR) - 1) - __builtin_clz(x); in lg_floor()
189 #elif (LG_SIZEOF_PTR == LG_SIZEOF_LONG) in lg_floor()
190 return ((8 << LG_SIZEOF_PTR) - 1) - __builtin_clzl(x); in lg_floor()
[all …]
H A Datomic.h58 #if (LG_SIZEOF_PTR == 3 || LG_SIZEOF_INT == 3)
62 JEMALLOC_GENERATE_ATOMICS(void *, p, LG_SIZEOF_PTR)
72 JEMALLOC_GENERATE_INT_ATOMICS(size_t, zu, LG_SIZEOF_PTR)
74 JEMALLOC_GENERATE_INT_ATOMICS(ssize_t, zd, LG_SIZEOF_PTR)
H A Dprng.h47 #if LG_SIZEOF_PTR == 2 in prng_state_next_zu()
49 #elif LG_SIZEOF_PTR == 3 in prng_state_next_zu()
108 assert(lg_range <= ZU(1) << (3 + LG_SIZEOF_PTR)); in prng_lg_range_zu()
121 ret = state1 >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - lg_range); in prng_lg_range_zu()
H A Drtree.h18 #define RTREE_NHIB ((1U << (LG_SIZEOF_PTR+3)) - LG_VADDR)
133 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_leafkey()
143 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_cache_direct_map()
152 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_subkey()
H A Dckh.h21 #define LG_CKH_BUCKET_CELLS (LG_CACHELINE - LG_SIZEOF_PTR - 1)
H A Djemalloc_internal_types.h62 #define SIZEOF_PTR (1U << LG_SIZEOF_PTR)
H A Dsc.h184 #define SC_PTR_BITS ((1ULL << LG_SIZEOF_PTR) * 8)
H A Dhash.h307 #if (LG_SIZEOF_PTR == 3 && !defined(JEMALLOC_BIG_ENDIAN)) in hash()
/freebsd/lib/libc/stdlib/malloc/jemalloc/include/jemalloc/
H A Djemalloc_FreeBSD.h22 #undef LG_SIZEOF_PTR
29 # define LG_SIZEOF_PTR 2 macro
34 # define LG_SIZEOF_PTR 3 macro
38 # define LG_SIZEOF_PTR 3 macro
47 # define LG_SIZEOF_PTR 3 macro
52 # define LG_SIZEOF_PTR 2 macro
56 # define LG_SIZEOF_PTR 3 macro
61 # define LG_SIZEOF_PTR 3 macro
64 # define LG_SIZEOF_PTR 2 macro
69 # define LG_SIZEOF_PTR 3 macro
[all …]
H A Djemalloc.h54 #define LG_SIZEOF_PTR 3 macro
103 #if LG_SIZEOF_PTR == 2
/freebsd/contrib/jemalloc/
H A DFREEBSD-diffs187 +#undef LG_SIZEOF_PTR
194 +# define LG_SIZEOF_PTR 2
199 +# define LG_SIZEOF_PTR 3
203 +# define LG_SIZEOF_PTR 3
208 +# define LG_SIZEOF_PTR 3
213 +# define LG_SIZEOF_PTR 2
217 +# define LG_SIZEOF_PTR 3
222 +# define LG_SIZEOF_PTR 3
225 +# define LG_SIZEOF_PTR 2
230 +# define LG_SIZEOF_PTR 3
[all …]
/freebsd/contrib/jemalloc/src/
H A Dsc.c264 size_classes(sc_data, LG_SIZEOF_PTR, LG_QUANTUM, SC_LG_TINY_MIN, in sc_data_init()