Home
last modified time | relevance | path

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

/external/jemalloc/include/jemalloc/internal/
Dtcache.h77 unsigned ncached_max; /* Upper limit on ncached. */ member
387 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_small()
389 (tbin_info->ncached_max >> 1)); in tcache_dalloc_small()
391 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_small()
416 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_large()
418 (tbin_info->ncached_max >> 1), tcache); in tcache_dalloc_large()
420 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_large()
/external/jemalloc/src/
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()
Darena.c1817 for (i = 0, nfill = (tcache_bin_info[binind].ncached_max >> in arena_tcache_fill_small()