Lines Matching defs:wq
1127 register wait_queue_t wq;
1137 wq = &wait_queues[index];
1138 return wait_queue_assert_wait(wq, event, interruptible, 0);
1494 wait_queue_t wq = thread->wait_queue;
1501 if (wq != WAIT_QUEUE_NULL) {
1502 if (wait_queue_lock_try(wq)) {
1503 wait_queue_pull_thread_locked(wq, thread, TRUE);
1511 if (wq != thread->wait_queue)
1521 panic("clear_wait_internal: deadlock: thread=%p, wq=%p, cpu=%d\n",
1522 thread, wq, cpu_number());
1579 register wait_queue_t wq;
1583 wq = &wait_queues[index];
1585 return (wait_queue_wakeup_one(wq, event, result, priority));
1587 return (wait_queue_wakeup_all(wq, event, result));