Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/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 …]
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dtaskq.c57 kmutex_t tq_lock; /* Queue and job lock. */ member
83 mutex_enter(&tq->tq_lock); in task_executor()
89 error = cv_timedwait(&tq->tq_cv, &tq->tq_lock, in task_executor()
103 mutex_exit(&tq->tq_lock); in task_executor()
107 mutex_enter(&tq->tq_lock); in task_executor()
115 mutex_exit(&tq->tq_lock); in task_executor()
146 KASSERT(mutex_owned(&tq->tq_lock)); in taskq_dispatch_common()
156 mutex_exit(&tq->tq_lock); in taskq_dispatch_common()
170 mutex_exit(&tq->tq_lock); in taskq_dispatch_common()
192 mutex_enter(&tq->tq_lock); in taskq_dispatch()
[all …]