Home
last modified time | relevance | path

Searched refs:SMALL_MAXCLASS (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc_new/test/unit/
Dzero.c44 test_zero(1, SMALL_MAXCLASS-1); in TEST_BEGIN()
50 test_zero(SMALL_MAXCLASS+1, (1U << (LG_LARGE_MINCLASS+1))); in TEST_BEGIN()
Djunk.c126 test_junk(1, SMALL_MAXCLASS-1); in TEST_BEGIN()
132 test_junk(SMALL_MAXCLASS+1, (1U << (LG_LARGE_MINCLASS+1))); in TEST_BEGIN()
Dstats.c36 p = mallocx(SMALL_MAXCLASS+1, MALLOCX_ARENA(0)); in TEST_BEGIN()
77 little = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); in TEST_BEGIN()
151 p = mallocx(SMALL_MAXCLASS, MALLOCX_ARENA(0)); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dtcache_inlines.h173 assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); in tcache_dalloc_small()
198 assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); in tcache_dalloc_large()
Dsz.h268 if (size <= SMALL_MAXCLASS && alignment < PAGE) { in sz_sa2u()
Dsize_classes.h186 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
335 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
482 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
794 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
1103 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
1410 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
Dsize_classes.sh308 * SMALL_MAXCLASS: Maximum small size class.
Darena_inlines_b.h93 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc()
/external/jemalloc_new/src/
Darena.c1386 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc_hard()
1397 if (usize <= SMALL_MAXCLASS && (alignment < PAGE || (alignment == PAGE in arena_palloc()
1417 assert(usize <= SMALL_MAXCLASS); in arena_prof_promote()
1598 if (likely(oldsize <= SMALL_MAXCLASS && usize_min <= SMALL_MAXCLASS)) { in arena_ralloc_no_move()
1605 if ((usize_max > SMALL_MAXCLASS || sz_size2index(usize_max) != in arena_ralloc_no_move()
1643 if (likely(usize <= SMALL_MAXCLASS)) { in arena_ralloc()
Dtcache.c675 SMALL_MAXCLASS) { in tcache_boot()
676 tcache_maxclass = SMALL_MAXCLASS; in tcache_boot()
Djemalloc.c1741 if (usize <= SMALL_MAXCLASS) {
1894 alloc_ctx.slab = (usize <= SMALL_MAXCLASS);
2169 if (usize <= SMALL_MAXCLASS) {
2619 if (usize <= SMALL_MAXCLASS) {