Lines Matching refs:bin
105 arena_bin_t *bin = &bin_arena->bins[binind]; in tcache_bin_flush_small() local
114 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
118 bin->stats.nflushes++; in tcache_bin_flush_small()
119 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_bin_flush_small()
142 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
150 arena_bin_t *bin = &arena->bins[binind]; in tcache_bin_flush_small() local
151 malloc_mutex_lock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
152 bin->stats.nflushes++; in tcache_bin_flush_small()
153 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_bin_flush_small()
155 malloc_mutex_unlock(tsd_tsdn(tsd), &bin->lock); in tcache_bin_flush_small()
407 arena_bin_t *bin = &arena->bins[i]; in tcache_stats_merge() local
409 malloc_mutex_lock(tsdn, &bin->lock); in tcache_stats_merge()
410 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_stats_merge()
411 malloc_mutex_unlock(tsdn, &bin->lock); in tcache_stats_merge()