Searched refs:size2index (Results 1 - 12 of 12) sorted by relevance
/external/jemalloc/test/unit/ |
H A D | size_classes.c | 32 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 D | extent.c | 14 return (index2size(size2index(size + 1) - 1));
|
H A D | arena.c | 96 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 D | quarantine.c | 32 quarantine = (quarantine_t *)iallocztm(tsd, size, size2index(size),
|
H A D | jemalloc.c | 321 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 D | prof.c | 556 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 D | tcache.c | 518 nhbins = size2index(tcache_maxclass) + 1;
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal.h | 457 * 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 D | tcache.h | 451 binind = size2index(size);
|
H A D | private_namespace.h | 460 #define size2index JEMALLOC_N(size2index) macro
|
H A D | private_unnamespace.h | 460 #undef size2index macro
|
H A D | arena.h | 1440 szind_t binind = size2index(size);
|
Completed in 1401 milliseconds