Lines Matching defs:binind
50 bool large, size_t binind, bool zero);
54 bool large, size_t binind, bool zero);
56 size_t binind, bool zero);
341 size_t binind = arena_ptr_small_binind_get(ptr, mapbits);
342 arena_bin_info_t *bin_info = &arena_bin_info[binind];
385 size_t binind, bool zero)
391 assert((large && binind == BININD_INVALID) || (large == false && binind
486 arena_mapbits_small_set(chunk, run_ind, 0, binind, flag_dirty);
496 arena_mapbits_small_set(chunk, run_ind+i, i, binind, 0);
504 need_pages-1, binind, flag_dirty);
629 arena_run_alloc_helper(arena_t *arena, size_t size, bool large, size_t binind,
645 arena_run_split(arena, run, size, large, binind, zero);
653 arena_run_alloc(arena_t *arena, size_t size, bool large, size_t binind,
661 assert((large && binind == BININD_INVALID) || (large == false && binind
665 run = arena_run_alloc_helper(arena, size, large, binind, zero);
675 arena_run_split(arena, run, size, large, binind, zero);
684 return (arena_run_alloc_helper(arena, size, large, binind, zero));
787 size_t binind;
794 binind = arena_bin_index(arena, run->bin);
795 bin_info = &arena_bin_info[binind];
984 size_t binind = arena_bin_index(arena, run->bin);
985 arena_bin_info_t *bin_info = &arena_bin_info[binind];
1230 size_t binind;
1239 binind = arena_bin_index(arena, bin);
1240 bin_info = &arena_bin_info[binind];
1246 run = arena_run_alloc(arena, bin_info->run_size, false, binind, false);
1285 size_t binind;
1289 binind = arena_bin_index(arena, bin);
1290 bin_info = &arena_bin_info[binind];
1331 arena_tcache_fill_small(arena_t *arena, tcache_bin_t *tbin, size_t binind,
1343 bin = &arena->bins[binind];
1345 for (i = 0, nfill = (tcache_bin_info[binind].ncached_max >>
1348 ptr = arena_run_reg_alloc(run, &arena_bin_info[binind]);
1354 arena_alloc_junk_small(ptr, &arena_bin_info[binind],
1361 bin->stats.allocated += i * arena_bin_info[binind].reg_size;
1426 size_t binind;
1428 binind = SMALL_SIZE2BIN(size);
1429 assert(binind < NBINS);
1430 bin = &arena->bins[binind];
1431 size = arena_bin_info[binind].reg_size;
1435 ret = arena_run_reg_alloc(run, &arena_bin_info[binind]);
1457 &arena_bin_info[binind], false);
1463 arena_alloc_junk_small(ret, &arena_bin_info[binind],
1573 size_t pageind, binind;
1584 binind = SMALL_SIZE2BIN(size);
1585 assert(binind < NBINS);
1586 arena_mapbits_large_binind_set(chunk, pageind, binind);
1601 size_t binind = arena_bin_index(chunk->arena, bin);
1602 arena_bin_info_t *bin_info = &arena_bin_info[binind];
1619 size_t binind;
1628 binind = arena_bin_index(chunk->arena, run->bin);
1629 bin_info = &arena_bin_info[binind];
1695 size_t size, binind;
1701 binind = arena_ptr_small_binind_get(ptr, mapelm->bits);
1702 bin_info = &arena_bin_info[binind];