Lines Matching refs:tqbucket_lock
1089 ASSERT(MUTEX_NOT_HELD(&b->tqbucket_lock)); in taskq_bucket_dispatch()
1092 mutex_enter(&b->tqbucket_lock); in taskq_bucket_dispatch()
1122 mutex_exit(&b->tqbucket_lock); in taskq_bucket_dispatch()
1336 mutex_enter(&b->tqbucket_lock); in taskq_wait()
1338 cv_wait(&b->tqbucket_cv, &b->tqbucket_lock); in taskq_wait()
1339 mutex_exit(&b->tqbucket_lock); in taskq_wait()
1360 mutex_enter(&b->tqbucket_lock); in taskq_suspend()
1362 mutex_exit(&b->tqbucket_lock); in taskq_suspend()
1395 mutex_enter(&b->tqbucket_lock); in taskq_resume()
1397 mutex_exit(&b->tqbucket_lock); in taskq_resume()
1673 kmutex_t *lock = &bucket->tqbucket_lock; in taskq_d_thread()
1982 mutex_init(&bucket->tqbucket_lock, NULL, MUTEX_DEFAULT, in taskq_create_common()
2107 mutex_enter(&b->tqbucket_lock); in taskq_destroy()
2124 cv_wait(&b->tqbucket_cv, &b->tqbucket_lock); in taskq_destroy()
2125 mutex_exit(&b->tqbucket_lock); in taskq_destroy()
2126 mutex_destroy(&b->tqbucket_lock); in taskq_destroy()
2215 mutex_enter(&b->tqbucket_lock); in taskq_bucket_extend()
2228 mutex_exit(&b->tqbucket_lock); in taskq_bucket_extend()