Searched refs:size2index (Results 1 - 12 of 12) sorted by relevance

/external/jemalloc/test/unit/
H A Dsize_classes.c32 max_index = size2index(max_size_class);
44 assert_u_eq(index, size2index(size_class),
45 "size2index() does not reverse index2size(): index=%u -->"
47 size_class, size2index(size_class),
48 index2size(size2index(size_class)));
49 assert_zu_eq(size_class, index2size(size2index(size_class)),
50 "index2size() does not reverse size2index(): index=%u -->"
52 size_class, size2index(size_class),
53 index2size(size2index(size_class)));
55 assert_u_eq(index+1, size2index(size_clas
[all...]
/external/jemalloc/src/
H A Dextent.c14 return (index2size(size2index(size + 1) - 1));
H A Darena.c96 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad;
119 large_run_size_next = PAGE_CEILING(index2size(size2index(size -
216 szind_t ind = size2index(run_quantize_floor(arena_miscelm_size_get(
228 szind_t ind = size2index(run_quantize_floor(arena_miscelm_size_get(
801 szind_t index = size2index(usize) - nlclasses - NBINS;
814 szind_t index = size2index(usize) - nlclasses - NBINS;
827 szind_t index = size2index(usize) - nlclasses - NBINS;
840 szind_t index = size2index(usize) - nlclasses - NBINS;
1080 ind = size2index(run_quantize_ceil(size));
2359 binind = size2index(usiz
[all...]
H A Dquarantine.c32 quarantine = (quarantine_t *)iallocztm(tsd, size, size2index(size),
H A Djemalloc.c321 return (iallocztm(NULL, size, size2index(size), zero, false,
1427 szind_t ind_large = size2index(LARGE_MINCLASS);
1466 ind = size2index(size);
1669 szind_t ind_large = size2index(LARGE_MINCLASS);
1738 ind = size2index(num_size);
2071 ind = size2index(usize);
2139 szind_t ind = size2index(size);
H A Dprof.c556 size2index(size), false, tcache_get(tsd, true), true, NULL, true);
794 size2index(sizeof(prof_tctx_t)), false, tcache, true, NULL,
1734 size2index(sizeof(prof_tdata_t)), false, tcache, true, NULL, true);
1966 ret = iallocztm(tsd, size, size2index(size), false, tcache_get(tsd,
H A Dtcache.c518 nhbins = size2index(tcache_maxclass) + 1;
/external/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal.h457 * and all accesses are via size2index().
537 szind_t size2index(size_t size);
597 size2index(size_t size) function
1029 szind_t binind = size2index(usize);
H A Dtcache.h451 binind = size2index(size);
H A Dprivate_namespace.h460 #define size2index JEMALLOC_N(size2index) macro
H A Dprivate_unnamespace.h460 #undef size2index macro
H A Darena.h1440 szind_t binind = size2index(size);

Completed in 1401 milliseconds