Searched refs:SMALL_MAXCLASS (Results 1 – 13 of 13) sorted by relevance
/external/jemalloc/test/unit/ |
D | zero.c | 50 test_zero(1, SMALL_MAXCLASS-1); in TEST_BEGIN() 58 test_zero(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
|
D | junk.c | 135 test_junk(1, SMALL_MAXCLASS-1); in TEST_BEGIN() 143 test_junk(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
|
D | stats.c | 85 little = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN() 152 p = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN()
|
/external/jemalloc/src/ |
D | jemalloc.c | 1364 if (usize <= SMALL_MAXCLASS) { 1449 if (usize <= SMALL_MAXCLASS) { 1578 if (usize <= SMALL_MAXCLASS) { 1679 if (usize <= SMALL_MAXCLASS) { 1966 if (usize <= SMALL_MAXCLASS) { 2077 if (usize <= SMALL_MAXCLASS) { 2224 SMALL_MAXCLASS) { 2225 if (ixalloc(ptr, old_usize, SMALL_MAXCLASS+1, 2226 (SMALL_MAXCLASS+1 >= size+extra) ? 0 : size+extra - 2227 (SMALL_MAXCLASS+1), alignment, zero))
|
D | quarantine.c | 158 && usize <= SMALL_MAXCLASS) in quarantine()
|
D | tcache.c | 502 if (opt_lg_tcache_max < 0 || (1U << opt_lg_tcache_max) < SMALL_MAXCLASS) in tcache_boot() 503 tcache_maxclass = SMALL_MAXCLASS; in tcache_boot()
|
D | arena.c | 79 if (qsize <= SMALL_MAXCLASS + large_pad) in rb_gen() 100 if (size > SMALL_MAXCLASS) { in run_quantize_next() 1951 assert(usize <= SMALL_MAXCLASS); in arena_quarantine_junk_small() 2154 if (usize <= SMALL_MAXCLASS && (alignment < PAGE || (alignment == PAGE in arena_palloc() 2194 assert(size <= SMALL_MAXCLASS); in arena_prof_promoted() 2598 if (oldsize <= SMALL_MAXCLASS) { in arena_ralloc_no_move() 2602 if ((size + extra <= SMALL_MAXCLASS && in arena_ralloc_no_move() 2609 if (size + extra > SMALL_MAXCLASS) { in arena_ralloc_no_move() 3079 nlclasses = size2index(arena_maxclass) - size2index(SMALL_MAXCLASS); in arena_boot()
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 380 assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); in tcache_dalloc_small() 406 assert(tcache_salloc(ptr) > SMALL_MAXCLASS); in tcache_dalloc_large()
|
D | size_classes.h | 180 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro 330 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro 478 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro 791 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro 1101 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro 1409 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
|
D | size_classes.sh | 215 * SMALL_MAXCLASS: Maximum small size class.
|
D | jemalloc_internal.h | 679 if (size <= SMALL_MAXCLASS && alignment < PAGE) { in sa2u() 970 if (usize <= SMALL_MAXCLASS) { in u2rz()
|
D | arena.h | 1072 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc() 1233 if (likely(size <= SMALL_MAXCLASS)) { in arena_sdalloc()
|
D | jemalloc_internal.h.in | 679 if (size <= SMALL_MAXCLASS && alignment < PAGE) { 970 if (usize <= SMALL_MAXCLASS) {
|