Searched refs:sz_size2index (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | arena_inlines_b.h | 339 szind = sz_size2index(size); in arena_sdalloc_no_tcache() 351 assert(szind == sz_size2index(size)); in arena_sdalloc_no_tcache() 394 assert(local_ctx.szind == sz_size2index(size)); in arena_sdalloc() 404 szind = sz_size2index(size); in arena_sdalloc()
|
H A D | sz.h | 164 sz_size2index(size_t size) { in sz_size2index() function
|
/freebsd/contrib/jemalloc/src/ |
H A D | arena.c | 392 index = sz_size2index(usize); in arena_large_malloc_stats_update() 408 index = sz_size2index(usize); in arena_large_dalloc_stats_update() 435 szind_t szind = sz_size2index(usize); in arena_extent_alloc_large() 1235 szind_t szind = sz_size2index(bin_info->reg_size); in arena_slab_alloc() 1540 ret = arena_malloc(tsdn, arena, usize, sz_size2index(usize), in arena_palloc() 1570 szind_t szind = sz_size2index(usize); in arena_prof_promote() 1615 sz_size2index(bumped_usize), slow_path); in arena_dalloc_promoted() 1760 assert(bin_infos[sz_size2index(oldsize)].reg_size == in arena_ralloc_no_move() 1763 || sz_size2index(usize_max) != sz_size2index(oldsize)) in arena_ralloc_no_move() 1789 return arena_malloc(tsdn, arena, usize, sz_size2index(usize), in arena_ralloc_move_helper()
|
H A D | large.c | 112 sz_size2index(usize), false, diff, SC_NSIZES, false); in large_ralloc_no_move_shrink() 181 szind_t szind = sz_size2index(usize); in large_ralloc_no_move_expand()
|
H A 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 < SC_NSIZES; i++) { in base_alloc_impl()
|
H A D | prof.c | 379 iallocztm(tsd_tsdn(tsd), sz, sz_size2index(sz), false, NULL, in prof_log_bt_index() 420 iallocztm(tsd_tsdn(tsd), sz, sz_size2index(sz), false, NULL, in prof_log_thr_index() 481 iallocztm(tsd_tsdn(tsd), sz, sz_size2index(sz), false, NULL, true, in prof_try_log() 827 sz_size2index(size), false, NULL, true, arena_get(TSDN_NULL, 0, true), in prof_gctx_create() 1090 sz_size2index(sizeof(prof_tctx_t)), false, NULL, true, in prof_lookup() 2209 sz_size2index(sizeof(prof_tdata_t)), false, NULL, true, in prof_tdata_init_impl() 2807 ret = iallocztm(tsdn, size, sz_size2index(size), false, NULL, true, in prof_thread_name_alloc()
|
H A D | jemalloc.c | 244 return iallocztm(TSDN_NULL, size, sz_size2index(size), zero, NULL, in a0ialloc() 1974 ind_large = sz_size2index(SC_LARGE_MINCLASS); in imalloc_sample() 2066 ind = sz_size2index(size); in imalloc_body() 2618 alloc_ctx.szind = sz_size2index(usize); in isfree() 2634 assert(alloc_ctx.szind == sz_size2index(usize)); in isfree()
|
H A D | tcache.c | 747 nhbins = sz_size2index(tcache_maxclass) + 1; in tcache_boot()
|