Searched refs:size2index (Results 1 – 11 of 11) sorted by relevance
/external/jemalloc/test/unit/ |
D | size_classes.c | 32 max_index = size2index(max_size_class); in TEST_BEGIN() 44 assert_u_eq(index, size2index(size_class), in TEST_BEGIN() 47 size_class, size2index(size_class), in TEST_BEGIN() 48 index2size(size2index(size_class))); in TEST_BEGIN() 49 assert_zu_eq(size_class, index2size(size2index(size_class)), in TEST_BEGIN() 52 size_class, size2index(size_class), in TEST_BEGIN() 53 index2size(size2index(size_class))); in TEST_BEGIN() 55 assert_u_eq(index+1, size2index(size_class+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()
|
/external/jemalloc/src/ |
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() 691 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update() 704 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update_undo() 717 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update() 730 index_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update_undo() 1953 binind = size2index(usize); in arena_quarantine_junk_small() 1966 binind = size2index(size); in arena_malloc_small() 2046 index_t index = size2index(usize) - NBINS; in arena_malloc_large() 2128 index_t index = size2index(size) - NBINS; in arena_palloc_large() [all …]
|
D | extent.c | 14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
|
D | tcache.c | 509 nhbins = size2index(tcache_maxclass) + 1; in tcache_boot()
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 286 binind = size2index(size); in tcache_alloc_small() 331 binind = size2index(size); in tcache_alloc_large() 409 binind = size2index(size); in tcache_dalloc_large()
|
D | jemalloc_internal.h | 505 index_t size2index(size_t size); 564 size2index(size_t size) in size2index() function 971 index_t binind = size2index(usize); in u2rz()
|
D | private_symbols.txt | 421 size2index
|
D | jemalloc_internal.h.in | 431 * and all accesses are via size2index(). 505 index_t size2index(size_t size); 564 size2index(size_t size) function 971 index_t binind = size2index(usize);
|
D | private_namespace.h | 421 #define size2index JEMALLOC_N(size2index) macro
|
D | private_unnamespace.h | 421 #undef size2index
|
D | arena.h | 1236 index_t binind = size2index(size); in arena_sdalloc()
|