Lines Matching refs:wait
51 * Scan threshold to break wait queue walk.
53 * wait queue lock during the wait queue walk.
235 * Note: we use "set_current_state()" _after_ the wait-queue add,
237 * wake-function that tests for the wait-queue being active
325 * Note! These two wait functions are entered with the
326 * wait-queue lock held (and interrupts off in the _irq
328 * condition in the caller before they add the wait
331 int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait)
333 if (likely(list_empty(&wait->entry))) {
334 __add_wait_queue_entry_tail(wq, wait);
350 int do_wait_intr_irq(wait_queue_head_t *wq, wait_queue_entry_t *wait)
352 if (likely(list_empty(&wait->entry))) {
353 __add_wait_queue_entry_tail(wq, wait);
372 * @wq_entry: wait descriptor
375 * the wait descriptor from the given waitqueue if still
421 * DEFINE_WAIT_FUNC(wait, woken_wake_func);
423 * add_wait_queue(&wq_head, &wait);
438 * remove_wait_queue(&wq_head, &wait); wq_entry->flags |= WQ_FLAG_WOKEN;
456 * in woken_wake_function() such that either we see the wait condition