Searched refs:size2index (Results 1 – 14 of 14) 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() [all …]
|
/external/jemalloc/src/ |
D | arena.c | 96 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad; in rb_gen() 119 large_run_size_next = PAGE_CEILING(index2size(size2index(size - in run_quantize_ceil_compute_hard() 216 szind_t ind = size2index(run_quantize_floor(arena_miscelm_size_get( in arena_avail_insert() 228 szind_t ind = size2index(run_quantize_floor(arena_miscelm_size_get( in arena_avail_remove() 801 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update() 814 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_malloc_stats_update_undo() 827 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update() 840 szind_t index = size2index(usize) - nlclasses - NBINS; in arena_huge_dalloc_stats_update_undo() 1080 ind = size2index(run_quantize_ceil(size)); in arena_run_first_best_fit() 2359 binind = size2index(usize); in arena_quarantine_junk_small() [all …]
|
D | extent.c | 14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
|
D | quarantine.c | 32 quarantine = (quarantine_t *)iallocztm(tsd, size, size2index(size), in quarantine_init()
|
D | jemalloc.c | 321 return (iallocztm(NULL, size, size2index(size), zero, false, in a0ialloc() 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);
|
D | prof.c | 556 size2index(size), false, tcache_get(tsd, true), true, NULL, true); in prof_gctx_create() 794 size2index(sizeof(prof_tctx_t)), false, tcache, true, NULL, in prof_lookup() 1734 size2index(sizeof(prof_tdata_t)), false, tcache, true, NULL, true); in prof_tdata_init_impl() 1966 ret = iallocztm(tsd, size, size2index(size), false, tcache_get(tsd, in prof_thread_name_alloc()
|
D | tcache.c | 518 nhbins = size2index(tcache_maxclass) + 1; in tcache_boot()
|
/external/jemalloc/include/jemalloc/internal/ |
D | jemalloc_internal.h | 537 szind_t size2index(size_t size); 597 size2index(size_t size) in size2index() function 1029 szind_t binind = size2index(usize); in u2rz()
|
D | private_symbols.txt | 458 size2index
|
D | jemalloc_internal.h.in | 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);
|
D | private_namespace.h | 460 #define size2index JEMALLOC_N(size2index) macro
|
D | tcache.h | 451 binind = size2index(size); in tcache_dalloc_large()
|
D | private_unnamespace.h | 460 #undef size2index
|
D | arena.h | 1439 szind_t binind = size2index(size); in arena_sdalloc()
|