Lines Matching refs:bin
107 arena_bin_t *bin = &bin_arena->bins[binind]; in tcache_bin_flush_small() local
115 malloc_mutex_lock(&bin->lock); in tcache_bin_flush_small()
119 bin->stats.nflushes++; in tcache_bin_flush_small()
120 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_bin_flush_small()
146 malloc_mutex_unlock(&bin->lock); in tcache_bin_flush_small()
153 arena_bin_t *bin = &arena->bins[binind]; in tcache_bin_flush_small() local
154 malloc_mutex_lock(&bin->lock); in tcache_bin_flush_small()
155 bin->stats.nflushes++; in tcache_bin_flush_small()
156 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_bin_flush_small()
158 malloc_mutex_unlock(&bin->lock); in tcache_bin_flush_small()
358 arena_bin_t *bin = &arena->bins[i]; in tcache_destroy() local
359 malloc_mutex_lock(&bin->lock); in tcache_destroy()
360 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_destroy()
361 malloc_mutex_unlock(&bin->lock); in tcache_destroy()
416 arena_bin_t *bin = &arena->bins[i]; in tcache_stats_merge() local
418 malloc_mutex_lock(&bin->lock); in tcache_stats_merge()
419 bin->stats.nrequests += tbin->tstats.nrequests; in tcache_stats_merge()
420 malloc_mutex_unlock(&bin->lock); in tcache_stats_merge()