Home
last modified time | relevance | path

Searched refs:size2index (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc/test/unit/
Dsize_classes.c32 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/
Darena.c78 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 …]
Dextent.c14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
Dtcache.c509 nhbins = size2index(tcache_maxclass) + 1; in tcache_boot()
/external/jemalloc/include/jemalloc/internal/
Dtcache.h286 binind = size2index(size); in tcache_alloc_small()
331 binind = size2index(size); in tcache_alloc_large()
409 binind = size2index(size); in tcache_dalloc_large()
Djemalloc_internal.h505 index_t size2index(size_t size);
564 size2index(size_t size) in size2index() function
971 index_t binind = size2index(usize); in u2rz()
Dprivate_symbols.txt421 size2index
Djemalloc_internal.h.in431 * 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);
Dprivate_namespace.h421 #define size2index JEMALLOC_N(size2index) macro
Dprivate_unnamespace.h421 #undef size2index
Darena.h1236 index_t binind = size2index(size); in arena_sdalloc()