Searched refs:arena_maxclass (Results 1 – 11 of 11) sorted by relevance
/external/jemalloc/test/unit/ |
D | junk.c | 143 test_junk(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN() 151 test_junk(arena_maxclass+1, chunksize*2); in TEST_BEGIN() 175 assert_zu_eq(old_usize, arena_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept() 176 assert_zu_eq(usize, shrink_size(arena_maxclass), "Unexpected usize"); in arena_ralloc_junk_large_intercept() 184 p1 = mallocx(arena_maxclass, 0); in TEST_BEGIN() 190 p2 = rallocx(p1, shrink_size(arena_maxclass), 0); in TEST_BEGIN()
|
D | zero.c | 58 test_zero(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN() 66 test_zero(arena_maxclass+1, chunksize*2); in TEST_BEGIN()
|
D | stats.c | 41 p = mallocx(arena_maxclass+1, 0); in TEST_BEGIN() 87 large = mallocx(arena_maxclass, 0); in TEST_BEGIN() 199 p = mallocx(arena_maxclass, 0); in TEST_BEGIN()
|
/external/jemalloc/src/ |
D | arena.c | 14 size_t arena_maxclass; /* Max size class for arenas. */ variable 2158 } else if (usize <= arena_maxclass && alignment <= PAGE) { in arena_palloc() 2169 if (likely(usize <= arena_maxclass)) { in arena_palloc() 2548 if (unlikely(extra >= arena_maxclass)) in arena_ralloc_large() 2592 if (likely(size <= arena_maxclass)) { in arena_ralloc_no_move() 2597 if (likely(oldsize <= arena_maxclass)) { in arena_ralloc_no_move() 2608 assert(size <= arena_maxclass); in arena_ralloc_no_move() 2629 if (likely(size <= arena_maxclass)) { in arena_ralloc() 3069 arena_maxclass = index2size(size2index(chunksize)-1); in arena_boot() 3070 if (arena_maxclass > arena_maxrun) { in arena_boot() [all …]
|
D | tcache.c | 504 else if ((1U << opt_lg_tcache_max) > arena_maxclass) in tcache_boot() 505 tcache_maxclass = arena_maxclass; in tcache_boot()
|
/external/jemalloc/include/jemalloc/internal/ |
D | private_symbols.txt | 58 arena_maxclass
|
D | private_namespace.h | 58 #define arena_maxclass JEMALLOC_N(arena_maxclass) macro
|
D | arena.h | 421 extern size_t arena_maxclass; /* Max size class for arenas. */ 1078 } else if (likely(size <= arena_maxclass)) { in arena_malloc()
|
D | private_unnamespace.h | 58 #undef arena_maxclass
|
D | jemalloc_internal.h | 700 if (likely(size <= arena_maxclass) && likely(alignment < chunksize)) { in sa2u()
|
D | jemalloc_internal.h.in | 700 if (likely(size <= arena_maxclass) && likely(alignment < chunksize)) {
|