Home
last modified time | relevance | path

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

/external/jemalloc_new/src/
Dtcache.c47 cache_bin_t *tbin; in tcache_event_hard() local
49 tbin = tcache_small_bin_get(tcache, binind); in tcache_event_hard()
51 tbin = tcache_large_bin_get(tcache, binind); in tcache_event_hard()
53 if (tbin->low_water > 0) { in tcache_event_hard()
58 tcache_bin_flush_small(tsd, tcache, tbin, binind, in tcache_event_hard()
59 tbin->ncached - tbin->low_water + (tbin->low_water in tcache_event_hard()
71 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard()
72 - tbin->low_water + (tbin->low_water >> 2), tcache); in tcache_event_hard()
74 } else if (tbin->low_water < 0) { in tcache_event_hard()
83 tbin->low_water = tbin->ncached; in tcache_event_hard()
[all …]
Darena.c160 cache_bin_t *tbin = &descriptor->bins_small[i]; in arena_stats_merge() local
162 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
165 cache_bin_t *tbin = &descriptor->bins_large[i]; in arena_stats_merge() local
167 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
1251 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes) { in arena_tcache_fill_small() argument
1255 assert(tbin->ncached == 0); in arena_tcache_fill_small()
1279 memmove(tbin->avail - i, tbin->avail - nfill, in arena_tcache_fill_small()
1288 *(tbin->avail - nfill + i) = ptr; in arena_tcache_fill_small()
1293 bin->stats.nrequests += tbin->tstats.nrequests; in arena_tcache_fill_small()
1298 tbin->tstats.nrequests = 0; in arena_tcache_fill_small()
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dtcache_externs.h33 cache_bin_t *tbin, szind_t binind, bool *tcache_success);
34 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, cache_bin_t *tbin,
36 void tcache_bin_flush_large(tsd_t *tsd, cache_bin_t *tbin, szind_t binind,
Darena_externs.h48 cache_bin_t *tbin, szind_t binind, uint64_t prof_accumbytes);