Home
last modified time | relevance | path

Searched refs:ncached_max (Results 1 – 3 of 3) sorted by relevance

/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dtcache.h65 unsigned ncached_max; /* Upper limit on ncached. */ member
375 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_small()
377 (tbin_info->ncached_max >> 1)); in tcache_dalloc_small()
379 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_small()
404 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_large()
406 (tbin_info->ncached_max >> 1), tcache); in tcache_dalloc_large()
408 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_large()
/redis-3.2.3/deps/jemalloc/src/
H A Dtcache.c55 if ((tbin_info->ncached_max >> (tbin->lg_fill_div+1)) >= 1) in tcache_event_hard()
338 stack_offset += tcache_bin_info[i].ncached_max * sizeof(void *); in tcache_create()
519 tcache_bin_info[i].ncached_max = in tcache_boot()
523 tcache_bin_info[i].ncached_max = in tcache_boot()
526 tcache_bin_info[i].ncached_max = in tcache_boot()
529 stack_nelms += tcache_bin_info[i].ncached_max; in tcache_boot()
532 tcache_bin_info[i].ncached_max = TCACHE_NSLOTS_LARGE; in tcache_boot()
533 stack_nelms += tcache_bin_info[i].ncached_max; in tcache_boot()
H A Darena.c2001 for (i = 0, nfill = (tcache_bin_info[binind].ncached_max >> in arena_tcache_fill_small()