Searched refs:SMALL_MAXCLASS (Results 1 – 11 of 11) sorted by relevance
44 test_zero(1, SMALL_MAXCLASS-1); in TEST_BEGIN()50 test_zero(SMALL_MAXCLASS+1, (1U << (LG_LARGE_MINCLASS+1))); in TEST_BEGIN()
126 test_junk(1, SMALL_MAXCLASS-1); in TEST_BEGIN()132 test_junk(SMALL_MAXCLASS+1, (1U << (LG_LARGE_MINCLASS+1))); in TEST_BEGIN()
36 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()
173 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()
268 if (size <= SMALL_MAXCLASS && alignment < PAGE) { in sz_sa2u()
186 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro335 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro482 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro794 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro1103 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro1410 #define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11)) macro
308 * SMALL_MAXCLASS: Maximum small size class.
93 if (likely(size <= SMALL_MAXCLASS)) { in arena_malloc()
1386 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()
675 SMALL_MAXCLASS) { in tcache_boot()676 tcache_maxclass = SMALL_MAXCLASS; in tcache_boot()
1741 if (usize <= SMALL_MAXCLASS) {1894 alloc_ctx.slab = (usize <= SMALL_MAXCLASS);2169 if (usize <= SMALL_MAXCLASS) {2619 if (usize <= SMALL_MAXCLASS) {