Searched refs:tpc_lock (Results 1 – 2 of 2) sorted by relevance
253 kmutex_t tpc_lock; /* lock for structure */ member293 mutex_enter(&(a)->tpc_lock); \296 mutex_exit(&(a)->tpc_lock); \299 mutex_enter(&(a)->tpc_lock); \304 mutex_exit(&(a)->tpc_lock); \
50 static kmutex_t tpc_lock; variable141 mutex_init(&tpc_lock, NULL, MUTEX_DEFAULT, NULL); in tcache_init()196 mutex_exit(&tpc->tpc_lock); in tpc_free()197 mutex_destroy(&tpc->tpc_lock); in tpc_free()211 mutex_enter(&tpc_lock); in tnrhtp_find()219 mutex_exit(&tpc_lock); in tnrhtp_find()577 mutex_enter(&tpc_lock); in tnrhtp_create()588 mutex_init(&tpc->tpc_lock, NULL, MUTEX_DEFAULT, NULL); in tnrhtp_create()594 mutex_exit(&tpc_lock); in tnrhtp_create()606 mutex_enter(&tpc_lock); in tnrhtp_delete()[all …]