Lines Matching refs:size2index
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()
2562 szind_t index = size2index(usize) - NBINS; in arena_palloc_large()
2592 ret = arena_malloc(tsd, arena, usize, size2index(usize), zero, in arena_palloc()
2601 ret = arena_malloc(tsd, arena, usize, size2index(usize), zero, in arena_palloc()
2635 binind = size2index(size); in arena_prof_promoted()
2814 szind_t index = size2index(usize) - NBINS; in arena_dalloc_large_locked_impl()
2862 szind_t oldindex = size2index(oldsize) - NBINS; in arena_ralloc_large_shrink()
2863 szind_t index = size2index(size) - NBINS; in arena_ralloc_large_shrink()
2908 usize = index2size(size2index(usize)-1); in arena_ralloc_large_grow()
2957 szind_t oldindex = size2index(oldsize) - NBINS; in arena_ralloc_large_grow()
2958 szind_t index = size2index(size) - NBINS; in arena_ralloc_large_grow()
3063 assert(arena_bin_info[size2index(oldsize)].reg_size == in arena_ralloc_no_move()
3066 size2index(usize_max) != size2index(oldsize)) && in arena_ralloc_no_move()
3092 return (arena_malloc(tsd, arena, usize, size2index(usize), zero, in arena_ralloc_move_helper()
3623 large_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
3633 nlclasses = size2index(large_maxclass) - size2index(SMALL_MAXCLASS); in arena_boot()
3642 runs_avail_bias = size2index(PAGE); in arena_boot()
3643 runs_avail_nclasses = size2index(run_quantize_max)+1 - runs_avail_bias; in arena_boot()