Home
last modified time | relevance | path

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

/external/jemalloc_new/src/
Dprof.c89 static malloc_mutex_t *tdata_locks; variable
549 return &tdata_locks[thr_uid % PROF_NTDATA_LOCKS]; in prof_tdata_mutex_choose()
2372 tdata_locks = (malloc_mutex_t *)base_alloc(tsd_tsdn(tsd), in prof_boot2()
2375 if (tdata_locks == NULL) { in prof_boot2()
2379 if (malloc_mutex_init(&tdata_locks[i], "prof_tdata", in prof_boot2()
2409 malloc_mutex_prefork(tsdn, &tdata_locks[i]); in prof_prefork0()
2443 malloc_mutex_postfork_parent(tsdn, &tdata_locks[i]); in prof_postfork_parent()
2465 malloc_mutex_postfork_child(tsdn, &tdata_locks[i]); in prof_postfork_child()