Home
last modified time | relevance | path

Searched refs:index2size (Results 1 – 12 of 12) sorted by relevance

/external/jemalloc/test/unit/
Dsize_classes.c34 for (index = 0, size_class = index2size(index); index < max_index || in TEST_BEGIN()
36 index2size(index)) { in TEST_BEGIN()
48 index2size(size2index(size_class))); in TEST_BEGIN()
49 assert_zu_eq(size_class, index2size(size2index(size_class)), in TEST_BEGIN()
53 index2size(size2index(size_class))); in TEST_BEGIN()
59 s2u(index2size(index-1)+1) : s2u(1), in TEST_BEGIN()
65 assert_zu_eq(s2u(size_class+1), index2size(index+1), in TEST_BEGIN()
69 assert_u_eq(index, size2index(index2size(index)), in TEST_BEGIN()
71 assert_zu_eq(max_size_class, index2size(size2index(max_size_class)), in TEST_BEGIN()
74 assert_zu_eq(size_class, s2u(index2size(index-1)+1), in TEST_BEGIN()
/external/jemalloc/src/
Dextent.c14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
Darena.c96 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad; in rb_gen()
119 large_run_size_next = PAGE_CEILING(index2size(size2index(size - in run_quantize_ceil_compute_hard()
2374 usize = index2size(binind); in arena_malloc_small()
2429 usize = index2size(binind); in arena_malloc_large()
2493 return (huge_malloc(tsd, arena, index2size(ind), zero, tcache)); in arena_malloc_hard()
2908 usize = index2size(size2index(usize)-1); in arena_ralloc_large_grow()
3623 large_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
Djemalloc.c1472 *usize = index2size(ind);
1744 usize = index2size(ind);
1748 usize = index2size(ind);
2144 *usize = index2size(ind);
Dctl.c569 index2size(i); in ctl_arena_stats_amerge()
1913 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+(szind_t)mib[2]), size_t) in CTL_RO_NL_GEN()
1924 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+(szind_t)mib[2]), in CTL_RO_NL_GEN()
/external/jemalloc/include/jemalloc/internal/
Dtcache.h324 usize = index2size(binind); in tcache_alloc_small()
382 usize = index2size(binind); in tcache_alloc_large()
Dprivate_symbols.txt283 index2size
Dprivate_namespace.h285 #define index2size JEMALLOC_N(index2size) macro
Djemalloc_internal.h540 size_t index2size(szind_t index);
642 index2size(szind_t index) in index2size() function
Dprivate_unnamespace.h285 #undef index2size
Djemalloc_internal.h.in540 size_t index2size(szind_t index);
642 index2size(szind_t index) function
Darena.h1349 ret = index2size(binind); in arena_salloc()