Lines Matching refs:tqbucket_lock
1204 ASSERT(MUTEX_NOT_HELD(&b->tqbucket_lock)); in taskq_bucket_dispatch()
1208 mutex_enter(&b->tqbucket_lock); in taskq_bucket_dispatch()
1237 mutex_exit(&b->tqbucket_lock); in taskq_bucket_dispatch()
1260 ASSERT(MUTEX_NOT_HELD(&b->tqbucket_lock)); in taskq_idlebucket_dispatch()
1261 ASSERT(MUTEX_NOT_HELD(&idleb->tqbucket_lock)); in taskq_idlebucket_dispatch()
1275 mutex_enter(&idleb->tqbucket_lock); in taskq_idlebucket_dispatch()
1307 mutex_enter(&b->tqbucket_lock); in taskq_idlebucket_dispatch()
1309 mutex_exit(&b->tqbucket_lock); in taskq_idlebucket_dispatch()
1324 mutex_exit(&idleb->tqbucket_lock); in taskq_idlebucket_dispatch()
1346 mutex_enter(&bucket->tqbucket_lock); in taskq_backlog_dispatch()
1348 mutex_exit(&bucket->tqbucket_lock); in taskq_backlog_dispatch()
1357 ASSERT(MUTEX_HELD(&bucket->tqbucket_lock)); in taskq_backlog_enqueue()
1611 mutex_enter(&b->tqbucket_lock); in taskq_wait()
1614 cv_wait(&b->tqbucket_cv, &b->tqbucket_lock); in taskq_wait()
1615 mutex_exit(&b->tqbucket_lock); in taskq_wait()
1642 mutex_enter(&b->tqbucket_lock); in taskq_suspend()
1644 mutex_exit(&b->tqbucket_lock); in taskq_suspend()
1677 mutex_enter(&b->tqbucket_lock); in taskq_resume()
1679 mutex_exit(&b->tqbucket_lock); in taskq_resume()
1986 kmutex_t *lock = &bucket->tqbucket_lock; in taskq_d_svc_bucket()
2243 kmutex_t *idle_lock = &idle_bucket->tqbucket_lock; in taskq_d_thread()
2699 mutex_init(&bucket->tqbucket_lock, NULL, MUTEX_DEFAULT, in taskq_create_common()
2844 mutex_enter(&b->tqbucket_lock); in taskq_destroy()
2873 mutex_exit(&b->tqbucket_lock); in taskq_destroy()
2882 mutex_enter(&b->tqbucket_lock); in taskq_destroy()
2884 cv_wait(&b->tqbucket_cv, &b->tqbucket_lock); in taskq_destroy()
2885 mutex_exit(&b->tqbucket_lock); in taskq_destroy()
2905 mutex_destroy(&b->tqbucket_lock); in taskq_destroy()
2969 mutex_enter(&b->tqbucket_lock); in taskq_bucket_extend()
2971 mutex_exit(&b->tqbucket_lock); in taskq_bucket_extend()
3020 mutex_enter(&b->tqbucket_lock); in taskq_bucket_extend()
3024 mutex_exit(&b->tqbucket_lock); in taskq_bucket_extend()
3030 mutex_enter(&idleb->tqbucket_lock); in taskq_bucket_extend()
3038 mutex_exit(&idleb->tqbucket_lock); in taskq_bucket_extend()
3095 mutex_enter(&bucket->tqbucket_lock); in taskq_bucket_redist()
3099 mutex_exit(&bucket->tqbucket_lock); in taskq_bucket_redist()
3104 mutex_exit(&bucket->tqbucket_lock); in taskq_bucket_redist()
3128 mutex_enter(&db->tqbucket_lock); in taskq_bucket_redist()
3132 mutex_exit(&db->tqbucket_lock); in taskq_bucket_redist()
3135 mutex_exit(&db->tqbucket_lock); in taskq_bucket_redist()
3145 mutex_enter(&bucket->tqbucket_lock); in taskq_bucket_redist()
3147 mutex_exit(&bucket->tqbucket_lock); in taskq_bucket_redist()
3155 mutex_enter(&idle_bucket->tqbucket_lock); in taskq_bucket_redist()
3161 mutex_exit(&idle_bucket->tqbucket_lock); in taskq_bucket_redist()