Home
last modified time | relevance | path

Searched refs:tbin (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/jemalloc/src/
H A Dtcache.c44 cache_bin_t *tbin; in tcache_event_hard() local
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()
80 tbin->low_water = tbin->ncached; in tcache_event_hard()
221 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_small()
224 if (tbin->ncached < tbin->low_water) { in tcache_bin_flush_small()
225 tbin->low_water = tbin->ncached; in tcache_bin_flush_small()
332 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_large()
335 if (tbin->ncached < tbin->low_water) { in tcache_bin_flush_large()
[all …]
H A Darena.c204 cache_bin_t *tbin = &descriptor->bins_small[i]; in arena_stats_merge() local
206 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
211 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
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()
1427 void* ptr = *(tbin->avail - nfill + i + j); in arena_tcache_fill_small()
1438 tbin->tstats.nrequests = 0; in arena_tcache_fill_small()
[all …]
/freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/
H A Dtcache_externs.h31 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 Darena_externs.h52 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes);