Home
last modified time | relevance | path

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

/external/jemalloc/test/unit/
Dzero.c50 test_zero(1, SMALL_MAXCLASS-1); in TEST_BEGIN()
58 test_zero(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
Djunk.c135 test_junk(1, SMALL_MAXCLASS-1); in TEST_BEGIN()
143 test_junk(SMALL_MAXCLASS+1, arena_maxclass); in TEST_BEGIN()
Dstats.c85 little = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN()
152 p = mallocx(SMALL_MAXCLASS, 0); in TEST_BEGIN()
/external/jemalloc/src/
Djemalloc.c1364 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))
Dquarantine.c158 && usize <= SMALL_MAXCLASS) in quarantine()
Dtcache.c502 if (opt_lg_tcache_max < 0 || (1U << opt_lg_tcache_max) < SMALL_MAXCLASS) in tcache_boot()
503 tcache_maxclass = SMALL_MAXCLASS; in tcache_boot()
Darena.c79 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/
Dtcache.h380 assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); in tcache_dalloc_small()
406 assert(tcache_salloc(ptr) > SMALL_MAXCLASS); in tcache_dalloc_large()
Dsize_classes.h180 #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
Dsize_classes.sh215 * SMALL_MAXCLASS: Maximum small size class.
Djemalloc_internal.h679 if (size <= SMALL_MAXCLASS && alignment < PAGE) { in sa2u()
970 if (usize <= SMALL_MAXCLASS) { in u2rz()
Darena.h1072 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc()
1233 if (likely(size <= SMALL_MAXCLASS)) { in arena_sdalloc()
Djemalloc_internal.h.in679 if (size <= SMALL_MAXCLASS && alignment < PAGE) {
970 if (usize <= SMALL_MAXCLASS) {