Searched refs:sz_size2index (Results 1 – 10 of 10) sorted by relevance
/external/jemalloc_new/test/unit/ |
D | size_classes.c | 30 max_index = sz_size2index(max_size_class); in TEST_BEGIN() 42 assert_u_eq(index, sz_size2index(size_class), in TEST_BEGIN() 45 index, size_class, sz_size2index(size_class), in TEST_BEGIN() 46 sz_index2size(sz_size2index(size_class))); in TEST_BEGIN() 48 sz_index2size(sz_size2index(size_class)), in TEST_BEGIN() 51 index, size_class, sz_size2index(size_class), in TEST_BEGIN() 52 sz_index2size(sz_size2index(size_class))); in TEST_BEGIN() 54 assert_u_eq(index+1, sz_size2index(size_class+1), in TEST_BEGIN() 68 assert_u_eq(index, sz_size2index(sz_index2size(index)), in TEST_BEGIN() 71 sz_size2index(max_size_class)), in TEST_BEGIN() [all …]
|
D | rtree.c | 89 sz_size2index(LARGE_MINCLASS), 0, extent_state_active, false, in TEST_BEGIN()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | arena_inlines_b.h | 254 szind = sz_size2index(size); in arena_sdalloc_no_tcache() 266 assert(szind == sz_size2index(size)); in arena_sdalloc_no_tcache() 310 assert(local_ctx.szind == sz_size2index(size)); in arena_sdalloc() 320 szind = sz_size2index(size); in arena_sdalloc()
|
D | sz.h | 165 sz_size2index(size_t size) { in sz_size2index() function
|
/external/jemalloc_new/src/ |
D | arena.c | 297 index = sz_size2index(usize); in arena_large_malloc_stats_update() 313 index = sz_size2index(usize); in arena_large_dalloc_stats_update() 335 szind_t szind = sz_size2index(usize); in arena_extent_alloc_large() 1121 szind_t szind = sz_size2index(bin_info->reg_size); in arena_slab_alloc() 1400 ret = arena_malloc(tsdn, arena, usize, sz_size2index(usize), in arena_palloc() 1426 szind_t szind = sz_size2index(usize); in arena_prof_promote() 1462 sz_size2index(usize), slow_path); in arena_dalloc_promoted() 1603 assert(bin_infos[sz_size2index(oldsize)].reg_size == in arena_ralloc_no_move() 1605 if ((usize_max > SMALL_MAXCLASS || sz_size2index(usize_max) != in arena_ralloc_no_move() 1606 sz_size2index(oldsize)) && (size > oldsize || usize_max < in arena_ralloc_no_move() [all …]
|
D | large.c | 120 sz_size2index(usize), false, diff, NSIZES, false); in large_ralloc_no_move_shrink() 189 szind_t szind = sz_size2index(usize); in large_ralloc_no_move_expand()
|
D | base.c | 206 sz_size2index(extent_bsize_get(extent) + 1) - 1; in base_extent_bump_alloc_post() 429 for (szind_t i = sz_size2index(asize); i < NSIZES; i++) { in base_alloc_impl()
|
D | jemalloc.c | 234 return iallocztm(TSDN_NULL, size, sz_size2index(size), zero, NULL, in a0ialloc() 1745 ind_large = sz_size2index(LARGE_MINCLASS); 1848 ind = sz_size2index(size); 2266 alloc_ctx.szind = sz_size2index(usize); 2282 assert(alloc_ctx.szind == sz_size2index(usize));
|
D | prof.c | 559 sz_size2index(size), false, NULL, true, arena_get(TSDN_NULL, 0, true), in prof_gctx_create() 822 sz_size2index(sizeof(prof_tctx_t)), false, NULL, true, in prof_lookup() 1911 sz_size2index(sizeof(prof_tdata_t)), false, NULL, true, in prof_tdata_init_impl() 2147 ret = iallocztm(tsdn, size, sz_size2index(size), false, NULL, true, in prof_thread_name_alloc()
|
D | tcache.c | 686 nhbins = sz_size2index(tcache_maxclass) + 1; in tcache_boot()
|