Searched refs:bq_lock (Results 1 – 3 of 3) sorted by relevance
66 mutex_init(&q->bq_lock, NULL, MUTEX_DEFAULT, NULL); in bqueue_init()84 mutex_enter(&q->bq_lock); in bqueue_destroy()93 mutex_exit(&q->bq_lock); in bqueue_destroy()94 mutex_destroy(&q->bq_lock); in bqueue_destroy()110 mutex_enter(&q->bq_lock); in bqueue_enqueue_impl()112 cv_wait_sig(&q->bq_add_cv, &q->bq_lock); in bqueue_enqueue_impl()118 mutex_exit(&q->bq_lock); in bqueue_enqueue_impl()161 mutex_enter(&q->bq_lock); in bqueue_dequeue()163 cv_wait_sig(&q->bq_pop_cv, &q->bq_lock); in bqueue_dequeue()171 mutex_exit(&q->bq_lock); in bqueue_dequeue()
36 kmutex_t bq_lock; member
109 struct mtx_padalign bq_lock; member116 #define BQ_LOCKPTR(bq) (&(bq)->bq_lock)146 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock)1931 mtx_init(&bq->bq_lock, lockname, NULL, MTX_DEF); in bq_init()