Searched refs:bq_lock (Results 1 – 3 of 3) sorted by relevance
65 mutex_init(&q->bq_lock, NULL, MUTEX_DEFAULT, NULL); in bqueue_init()83 mutex_enter(&q->bq_lock); in bqueue_destroy()92 mutex_exit(&q->bq_lock); in bqueue_destroy()93 mutex_destroy(&q->bq_lock); in bqueue_destroy()109 mutex_enter(&q->bq_lock); in bqueue_enqueue_impl()111 cv_wait_sig(&q->bq_add_cv, &q->bq_lock); in bqueue_enqueue_impl()117 mutex_exit(&q->bq_lock); in bqueue_enqueue_impl()160 mutex_enter(&q->bq_lock); in bqueue_dequeue()162 cv_wait_sig(&q->bq_pop_cv, &q->bq_lock); in bqueue_dequeue()170 mutex_exit(&q->bq_lock); in bqueue_dequeue()
35 kmutex_t bq_lock; member
107 struct mtx_padalign bq_lock; member114 #define BQ_LOCKPTR(bq) (&(bq)->bq_lock)144 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock)1929 mtx_init(&bq->bq_lock, lockname, NULL, MTX_DEF); in bq_init()