Searched refs:index2size (Results 1 – 11 of 11) sorted by relevance
/external/jemalloc/test/unit/ |
D | size_classes.c | 34 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/ |
D | extent.c | 14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
|
D | arena.c | 78 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad; in rb_gen() 101 large_run_size_next = PAGE_CEILING(index2size(size2index(size - in run_quantize_next() 1969 size = index2size(binind); in arena_malloc_small() 2470 usize = index2size(size2index(usize)-1); in arena_ralloc_large_grow() 3069 arena_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
|
D | ctl.c | 557 index2size(i); in ctl_arena_stats_amerge() 1825 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+mib[2]), size_t) in CTL_RO_NL_GEN() 1836 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+mib[2]), size_t) in CTL_RO_NL_GEN()
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 289 usize = index2size(binind); in tcache_alloc_small() 332 usize = index2size(binind); in tcache_alloc_large()
|
D | private_symbols.txt | 275 index2size
|
D | jemalloc_internal.h | 508 size_t index2size(index_t index); 611 index2size(index_t index) in index2size() function
|
D | private_namespace.h | 275 #define index2size JEMALLOC_N(index2size) macro
|
D | private_unnamespace.h | 275 #undef index2size
|
D | jemalloc_internal.h.in | 508 size_t index2size(index_t index); 611 index2size(index_t index) function
|
D | arena.h | 1146 ret = index2size(binind); in arena_salloc()
|