Home
last modified time | relevance | path

Searched refs:ncached (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/
H A Dcache_bin.h48 cache_bin_sz_t ncached; member
91 bin->ncached--; in cache_bin_alloc_easy()
97 if (unlikely(bin->ncached <= bin->low_water)) { in cache_bin_alloc_easy()
98 bin->low_water = bin->ncached; in cache_bin_alloc_easy()
99 if (bin->ncached == -1) { in cache_bin_alloc_easy()
100 bin->ncached = 0; in cache_bin_alloc_easy()
114 ret = *(bin->avail - (bin->ncached + 1)); in cache_bin_alloc_easy()
121 if (unlikely(bin->ncached == bin_info->ncached_max)) { in cache_bin_dalloc_easy()
124 assert(bin->ncached < bin_info->ncached_max); in cache_bin_dalloc_easy()
125 bin->ncached++; in cache_bin_dalloc_easy()
[all …]
H A Dtcache_inlines.h204 if (unlikely(bin->ncached == bin_info->ncached_max)) { in tcache_dalloc_large()
208 assert(bin->ncached < bin_info->ncached_max); in tcache_dalloc_large()
209 bin->ncached++; in tcache_dalloc_large()
210 *(bin->avail - bin->ncached) = ptr; in tcache_dalloc_large()
/freebsd-14.2/contrib/jemalloc/src/
H A Dtcache.c80 tbin->low_water = tbin->ncached; in tcache_event_hard()
139 assert((cache_bin_sz_t)rem <= tbin->ncached); in tcache_bin_flush_small()
143 unsigned nflush = tbin->ncached - rem; in tcache_bin_flush_small()
223 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()
235 assert((cache_bin_sz_t)rem <= tbin->ncached); in tcache_bin_flush_large()
239 unsigned nflush = tbin->ncached - rem; in tcache_bin_flush_large()
334 tbin->ncached = rem; in tcache_bin_flush_large()
335 if (tbin->ncached < tbin->low_water) { in tcache_bin_flush_large()
[all …]
H A Darena.c206 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()
1441 tbin->ncached = i; in arena_tcache_fill_small()
/freebsd-14.2/lib/libc/db/hash/
H A DREADME21 bytes of cache (ncached), and
37 butes of cache (ncached).