Home
last modified time | relevance | path

Searched refs:sz_pind2sz (Results 1 – 7 of 7) sorted by relevance

/external/jemalloc_new/test/unit/
Dsize_classes.c90 for (pind = 0, size_class = sz_pind2sz(pind); in TEST_BEGIN()
92 pind++, size_class = sz_pind2sz(pind)) { in TEST_BEGIN()
104 sz_pind2sz(sz_psz2ind(size_class))); in TEST_BEGIN()
105 assert_zu_eq(size_class, sz_pind2sz(sz_psz2ind(size_class)), in TEST_BEGIN()
109 sz_pind2sz(sz_psz2ind(size_class))); in TEST_BEGIN()
115 sz_psz2u(sz_pind2sz(pind-1)+1) : sz_psz2u(1), in TEST_BEGIN()
121 assert_zu_eq(sz_psz2u(size_class+1), sz_pind2sz(pind+1), in TEST_BEGIN()
125 assert_u_eq(pind, sz_psz2ind(sz_pind2sz(pind)), in TEST_BEGIN()
127 assert_zu_eq(max_psz, sz_pind2sz(sz_psz2ind(max_psz)), in TEST_BEGIN()
130 assert_zu_eq(size_class, sz_psz2u(sz_pind2sz(pind-1)+1), in TEST_BEGIN()
Dmallctl.c579 assert_zu_eq(default_limit, sz_pind2sz(EXTENT_GROW_MAX_PIND), in TEST_BEGIN()
595 new_limit = sz_pind2sz(10) - 1; in TEST_BEGIN()
600 assert_zu_eq(old_limit, sz_pind2sz(9), in TEST_BEGIN()
Dretained.c143 size_t psz = sz_pind2sz(pind); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dsz.h103 sz_pind2sz(pszind_t pind) { in sz_pind2sz() function
/external/jemalloc_new/src/
Dextent.c245 ret = sz_pind2sz(pind - 1) + sz_large_pad; in extent_size_quantize_floor()
271 ret = sz_pind2sz(sz_psz2ind(ret - sz_large_pad + 1)) + in extent_size_quantize_ceil()
415 if ((sz_pind2sz(i) >> opt_lg_extent_max_active_fit) > size) {
1260 size_t alloc_size = sz_pind2sz(arena->extent_grow_next + egn_skip); in extent_grow_retained()
1268 alloc_size = sz_pind2sz(arena->extent_grow_next + egn_skip); in extent_grow_retained()
Dbase.c267 size_t next_block_size = HUGEPAGE_CEILING(sz_pind2sz(pind_next)); in base_block_alloc()
Darena.c1735 *old_limit = sz_pind2sz(arena->retain_grow_limit); in arena_retain_grow_limit_get_set()