Lines Matching refs:binind
243 arena_slab_regind(extent_t *slab, szind_t binind, const void *ptr) { in arena_slab_regind() argument
251 (uintptr_t)bin_infos[binind].reg_size == 0); in arena_slab_regind()
256 regind = div_compute(&arena_binind_div_info[binind], diff); in arena_slab_regind()
258 assert(regind < bin_infos[binind].nregs); in arena_slab_regind()
265 szind_t binind = extent_szind_get(slab); in arena_slab_reg_dalloc() local
266 const bin_info_t *bin_info = &bin_infos[binind]; in arena_slab_reg_dalloc()
267 size_t regind = arena_slab_regind(slab, binind, ptr); in arena_slab_reg_dalloc()
1115 arena_slab_alloc(tsdn_t *tsdn, arena_t *arena, szind_t binind, in arena_slab_alloc() argument
1126 binind, &zero, &commit); in arena_slab_alloc()
1130 true, binind, &zero, &commit); in arena_slab_alloc()
1153 szind_t binind) { in arena_bin_nonfull_slab_get() argument
1164 bin_info = &bin_infos[binind]; in arena_bin_nonfull_slab_get()
1169 slab = arena_slab_alloc(tsdn, arena, binind, bin_info); in arena_bin_nonfull_slab_get()
1196 szind_t binind) { in arena_bin_malloc_hard() argument
1200 bin_info = &bin_infos[binind]; in arena_bin_malloc_hard()
1205 slab = arena_bin_nonfull_slab_get(tsdn, arena, bin, binind); in arena_bin_malloc_hard()
1251 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes) { in arena_tcache_fill_small() argument
1260 bin = &arena->bins[binind]; in arena_tcache_fill_small()
1262 for (i = 0, nfill = (tcache_bin_info[binind].ncached_max >> in arena_tcache_fill_small()
1263 tcache->lg_fill_div[binind]); i < nfill; i++) { in arena_tcache_fill_small()
1268 ptr = arena_slab_reg_alloc(slab, &bin_infos[binind]); in arena_tcache_fill_small()
1270 ptr = arena_bin_malloc_hard(tsdn, arena, bin, binind); in arena_tcache_fill_small()
1285 arena_alloc_junk_small(ptr, &bin_infos[binind], true); in arena_tcache_fill_small()
1321 arena_malloc_small(tsdn_t *tsdn, arena_t *arena, szind_t binind, bool zero) { in arena_malloc_small() argument
1327 assert(binind < NBINS); in arena_malloc_small()
1328 bin = &arena->bins[binind]; in arena_malloc_small()
1329 usize = sz_index2size(binind); in arena_malloc_small()
1333 ret = arena_slab_reg_alloc(slab, &bin_infos[binind]); in arena_malloc_small()
1335 ret = arena_bin_malloc_hard(tsdn, arena, bin, binind); in arena_malloc_small()
1357 &bin_infos[binind], false); in arena_malloc_small()
1364 arena_alloc_junk_small(ret, &bin_infos[binind], in arena_malloc_small()
1474 szind_t binind = extent_szind_get(slab); in arena_dissociate_bin_slab() local
1475 const bin_info_t *bin_info = &bin_infos[binind]; in arena_dissociate_bin_slab()
1536 szind_t binind = extent_szind_get(slab); in arena_dalloc_bin_locked_impl() local
1537 bin_t *bin = &arena->bins[binind]; in arena_dalloc_bin_locked_impl()
1538 const bin_info_t *bin_info = &bin_infos[binind]; in arena_dalloc_bin_locked_impl()
1568 szind_t binind = extent_szind_get(extent); in arena_dalloc_bin() local
1569 bin_t *bin = &arena->bins[binind]; in arena_dalloc_bin()