Searched refs:tbin (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/jemalloc/src/ |
H A D | tcache.c | 44 cache_bin_t *tbin; in tcache_event_hard() local 46 tbin = tcache_small_bin_get(tcache, binind); in tcache_event_hard() 48 tbin = tcache_large_bin_get(tcache, binind); in tcache_event_hard() 50 if (tbin->low_water > 0) { in tcache_event_hard() 55 tcache_bin_flush_small(tsd, tcache, tbin, binind, in tcache_event_hard() 56 tbin->ncached - tbin->low_water + (tbin->low_water in tcache_event_hard() 68 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard() 69 - tbin->low_water + (tbin->low_water >> 2), tcache); in tcache_event_hard() 71 } else if (tbin->low_water < 0) { in tcache_event_hard() 80 tbin->low_water = tbin->ncached; in tcache_event_hard() [all …]
|
H A D | arena.c | 204 cache_bin_t *tbin = &descriptor->bins_small[i]; in arena_stats_merge() local 206 tbin->ncached * sz_index2size(i)); in arena_stats_merge() 209 cache_bin_t *tbin = &descriptor->bins_large[i]; in arena_stats_merge() local 211 tbin->ncached * sz_index2size(i)); in arena_stats_merge() 1382 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes) { in arena_tcache_fill_small() argument 1385 assert(tbin->ncached == 0); in arena_tcache_fill_small() 1404 tbin->avail - nfill + i); in arena_tcache_fill_small() 1416 memmove(tbin->avail - i, in arena_tcache_fill_small() 1417 tbin->avail - nfill, in arena_tcache_fill_small() 1423 *(tbin->avail - nfill + i) = ptr; in arena_tcache_fill_small() [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | tcache_externs.h | 31 cache_bin_t *tbin, szind_t binind, bool *tcache_success); 32 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin, 34 void tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind,
|
H A D | arena_externs.h | 52 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes);
|