Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libzpool/common/
H A Dtaskq.c41 kmutex_t tq_lock; member
83 &tq->tq_lock, ddi_get_lbolt() + hz); in task_alloc()
88 mutex_exit(&tq->tq_lock); in task_alloc()
92 mutex_enter(&tq->tq_lock); in task_alloc()
107 mutex_exit(&tq->tq_lock); in task_free()
109 mutex_enter(&tq->tq_lock); in task_free()
126 mutex_enter(&tq->tq_lock); in taskq_dispatch()
129 mutex_exit(&tq->tq_lock); in taskq_dispatch()
145 mutex_exit(&tq->tq_lock); in taskq_dispatch()
164 mutex_enter(&tq->tq_lock); in taskq_dispatch_ent()
[all …]
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dtaskq.c71 kmutex_t tq_lock; member
113 &tq->tq_lock, ddi_get_lbolt() + hz); in task_alloc()
118 mutex_exit(&tq->tq_lock); in task_alloc()
122 mutex_enter(&tq->tq_lock); in task_alloc()
137 mutex_exit(&tq->tq_lock); in task_free()
139 mutex_enter(&tq->tq_lock); in task_free()
156 mutex_enter(&tq->tq_lock); in taskq_dispatch()
159 mutex_exit(&tq->tq_lock); in taskq_dispatch()
175 mutex_exit(&tq->tq_lock); in taskq_dispatch()
194 mutex_enter(&tq->tq_lock); in taskq_dispatch_ent()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dtaskq.c704 mutex_exit(&tq->tq_lock); \
738 ASSERT(MUTEX_HELD(&tq->tq_lock)); \
777 mutex_init(&tq->tq_lock, NULL, MUTEX_DEFAULT, NULL); in taskq_constructor()
801 mutex_destroy(&tq->tq_lock); in taskq_destructor()
853 ASSERT(MUTEX_HELD(&tq->tq_lock)); in taskq_update_nthreads()
875 mutex_enter(&tq->tq_lock); in taskq_cpupct_install()
878 mutex_exit(&tq->tq_lock); in taskq_cpupct_install()
924 mutex_enter(&tq->tq_lock); in taskq_cpu_setup()
932 mutex_exit(&tq->tq_lock); in taskq_cpu_setup()
977 ASSERT(MUTEX_HELD(&tq->tq_lock)); in taskq_ent_alloc()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dtaskq_impl.h107 kmutex_t tq_lock; member
/titanic_41/usr/src/cmd/svc/startd/
H A Drestarter.c2412 (void) pthread_mutex_init(&timeouts->tq_lock, &mutex_attrs); in timeout_init()
2459 MUTEX_LOCK(&timeouts->tq_lock); in timeout_insert()
2463 MUTEX_UNLOCK(&timeouts->tq_lock); in timeout_insert()
2485 MUTEX_LOCK(&timeouts->tq_lock); in timeout_remove()
2487 MUTEX_UNLOCK(&timeouts->tq_lock); in timeout_remove()
2509 MUTEX_LOCK(&timeouts->tq_lock); in timeout_now()
2528 MUTEX_UNLOCK(&timeouts->tq_lock); in timeout_now()
H A Dstartd.h229 pthread_mutex_t tq_lock; member