Searched refs:bq_lock (Results 1 – 3 of 3) sorted by relevance
55 mutex_init(&q->bq_lock, NULL, MUTEX_DEFAULT, NULL); in bqueue_init()71 mutex_enter(&q->bq_lock); in bqueue_destroy()76 mutex_exit(&q->bq_lock); in bqueue_destroy()77 mutex_destroy(&q->bq_lock); in bqueue_destroy()86 mutex_enter(&q->bq_lock); in bqueue_enqueue_impl()89 cv_wait_sig(&q->bq_add_cv, &q->bq_lock); in bqueue_enqueue_impl()97 mutex_exit(&q->bq_lock); in bqueue_enqueue_impl()134 mutex_enter(&q->bq_lock); in bqueue_dequeue()136 cv_wait_sig(&q->bq_pop_cv, &q->bq_lock); in bqueue_dequeue()144 mutex_exit(&q->bq_lock); in bqueue_dequeue()
30 kmutex_t bq_lock; member
105 struct mtx_padalign bq_lock; member112 #define BQ_LOCKPTR(bq) (&(bq)->bq_lock)141 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock)1851 mtx_init(&bq->bq_lock, lockname, NULL, MTX_DEF); in bq_init()