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