Lines Matching defs:bin
24 * We attempt to make the number of slots in a tcache bin for a given size class
54 * When a cache bin is flushed because it's full, how much of it do we flush?
348 /* Lock the arena, or bin, associated with the first object. */
368 * is a good place to prefetch the bin stats, which are
371 * the bin stats next to the lock seeming to do better.
438 * different arena, or a different bin in this
488 bin_t *bin = arena_bin_choose(tsdn, tcache_arena,
490 malloc_mutex_lock(tsdn, &bin->lock);
491 bin->stats.nflushes++;
492 bin->stats.nrequests += cache_bin->tstats.nrequests;
494 malloc_mutex_unlock(tsdn, &bin->lock);
664 * and common paths to access cache bin metadata safely w/o worrying
756 * We place the cache bin stacks, then the tcache_t, then a pointer to
870 bin_t *bin = arena_bin_choose(tsdn, arena, i, NULL);
871 malloc_mutex_lock(tsdn, &bin->lock);
872 bin->stats.nrequests += cache_bin->tstats.nrequests;
873 malloc_mutex_unlock(tsdn, &bin->lock);
1004 * suitable for a cache bin size.