Home
last modified time | relevance | path

Searched refs:size2index (Results 1 – 14 of 14) 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()
[all …]
/external/jemalloc/src/
Darena.c813 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update()
826 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update_undo()
839 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update()
852 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_reset_stats_cancel()
863 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update_undo()
2559 binind = size2index(usize); in arena_quarantine_junk_small()
2768 szind_t index = size2index(usize) - NBINS; in arena_palloc_large()
2798 ret = arena_malloc(tsdn, arena, usize, size2index(usize), zero, in arena_palloc()
2807 ret = arena_malloc(tsdn, arena, usize, size2index(usize), zero, in arena_palloc()
2840 binind = size2index(size); in arena_prof_promoted()
[all …]
Dextent.c18 ind = size2index(size + 1); in extent_quantize()
Dquarantine.c30 quarantine = (quarantine_t *)iallocztm(tsdn, size, size2index(size), in quarantine_init()
Djemalloc.c336 return (iallocztm(TSDN_NULL, size, size2index(size), zero, NULL, in a0ialloc()
1545 szind_t ind_large = size2index(LARGE_MINCLASS);
1598 ind = size2index(size);
2161 ind = size2index(usize);
2257 szind_t ind = size2index(size);
Dprof.c557 size2index(size), false, NULL, true, arena_get(TSDN_NULL, 0, true), in prof_gctx_create()
797 size2index(sizeof(prof_tctx_t)), false, NULL, true, in prof_lookup()
1802 size2index(sizeof(prof_tdata_t)), false, NULL, true, in prof_tdata_init_impl()
2042 ret = iallocztm(tsdn, size, size2index(size), false, NULL, true, in prof_thread_name_alloc()
Dtcache.c570 nhbins = size2index(tcache_maxclass) + 1; in tcache_boot()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal.h568 szind_t size2index(size_t size);
708 size2index(size_t size) in size2index() function
1135 szind_t binind = size2index(usize); in u2rz()
Dprivate_symbols.txt499 size2index
Djemalloc_internal.h.in478 * and all accesses are via size2index().
568 szind_t size2index(size_t size);
708 size2index(size_t size) function
1135 szind_t binind = size2index(usize);
Dtcache.h453 binind = size2index(size); in tcache_dalloc_large()
Dprivate_namespace.h499 #define size2index JEMALLOC_N(size2index) macro
Dprivate_unnamespace.h499 #undef size2index
Darena.h1524 szind_t binind = size2index(size); in arena_sdalloc()