Lines Matching refs:tcaches_mtx
31 static malloc_mutex_t tcaches_mtx; variable
628 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create_prep()
646 malloc_mutex_unlock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create_prep()
668 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create()
680 malloc_mutex_unlock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_create()
690 malloc_mutex_assert_owner(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_elm_remove()
710 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_flush()
712 malloc_mutex_unlock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_flush()
721 malloc_mutex_lock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_destroy()
726 malloc_mutex_unlock(tsd_tsdn(tsd), &tcaches_mtx); in tcaches_destroy()
742 if (malloc_mutex_init(&tcaches_mtx, "tcaches", WITNESS_RANK_TCACHES, in tcache_boot()
782 malloc_mutex_prefork(tsdn, &tcaches_mtx); in tcache_prefork()
789 malloc_mutex_postfork_parent(tsdn, &tcaches_mtx); in tcache_postfork_parent()
796 malloc_mutex_postfork_child(tsdn, &tcaches_mtx); in tcache_postfork_child()