Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c67 &tq->tq_lock, ddi_get_lbolt() + hz); in task_alloc()
72 mutex_exit(&tq->tq_lock); in task_alloc()
76 mutex_enter(&tq->tq_lock); in task_alloc()
94 mutex_exit(&tq->tq_lock); in task_free()
96 mutex_enter(&tq->tq_lock); in task_free()
113 mutex_enter(&tq->tq_lock); in taskq_dispatch()
116 mutex_exit(&tq->tq_lock); in taskq_dispatch()
132 mutex_exit(&tq->tq_lock); in taskq_dispatch()
174 mutex_enter(&tq->tq_lock); in taskq_dispatch_ent()
188 mutex_exit(&tq->tq_lock); in taskq_dispatch_ent()
[all...]
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-taskq.c235 spin_unlock_irqrestore(&tq->tq_lock, *irqflags); in task_alloc()
237 spin_lock_irqsave_nested(&tq->tq_lock, *irqflags, in task_alloc()
245 spin_unlock_irqrestore(&tq->tq_lock, *irqflags); in task_alloc()
247 spin_lock_irqsave_nested(&tq->tq_lock, *irqflags, tq->tq_lock_class); in task_alloc()
312 spin_lock_irqsave_nested(&tq->tq_lock, flags, tq->tq_lock_class); in task_expire_impl()
316 spin_unlock_irqrestore(&tq->tq_lock, flags); in task_expire_impl()
338 spin_unlock_irqrestore(&tq->tq_lock, flags); in task_expire_impl()
510 spin_lock_irqsave_nested(&tq->tq_lock, flags, tq->tq_lock_class); in taskq_wait_id_check()
512 spin_unlock_irqrestore(&tq->tq_lock, flags); in taskq_wait_id_check()
534 spin_lock_irqsave_nested(&tq->tq_lock, flags, tq->tq_lock_class); in taskq_wait_outstanding_check()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtaskq.h110 spinlock_t tq_lock; /* protects taskq_t */ member
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h463 kmutex_t tq_lock;