Home
last modified time | relevance | path

Searched refs:narenas_cache (Results 1 – 2 of 2) sorted by relevance

/external/jemalloc/src/
Djemalloc.c492 unsigned narenas_cache = tsd_narenas_cache_get(tsd); in arena_get_hard() local
496 if (arenas_cache != NULL && narenas_cache < narenas_actual) { in arena_get_hard()
499 narenas_cache = 0; in arena_get_hard()
501 tsd_narenas_cache_set(tsd, narenas_cache); in arena_get_hard()
508 narenas_cache = (ind < narenas_actual) ? narenas_actual : ind+1; in arena_get_hard()
513 narenas_cache); in arena_get_hard()
532 tsd_narenas_cache_set(tsd, narenas_cache); in arena_get_hard()
545 if (narenas_cache > narenas_actual) { in arena_get_hard()
547 (narenas_cache - narenas_actual)); in arena_get_hard()
/external/jemalloc/include/jemalloc/internal/
Dtsd.h541 O(narenas_cache, unsigned) \