Lines Matching refs:wq
51 wq_wait_init(&m->wq, &wqe, false /* wait_read */); in __mutex_lock()
63 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_lock()
108 wq_wake_next(&m->wq, m, fname, lineno); in __mutex_unlock()
169 wq_wake_next(&m->wq, m, fname, lineno); in __mutex_read_unlock()
196 wq_wait_init(&m->wq, &wqe, true /* wait_read */); in __mutex_read_lock()
208 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __mutex_read_lock()
327 if (!wq_is_empty(&m->wq)) in mutex_destroy()
352 if (cv->m && wq_have_condvar(&cv->m->wq, cv)) in condvar_destroy()
369 wq_promote_condvar(&m->wq, cv, only_one, m, fname, lineno); in cv_signal()
420 wq_wait_init_condvar(&m->wq, &wqe, cv, m->state > 0); in __condvar_wait()
435 wq_wake_next(&m->wq, m, fname, lineno); in __condvar_wait()
437 wq_wait_final(&m->wq, &wqe, m, fname, lineno); in __condvar_wait()