Lines Matching full:wait
237 * Note: we use "set_current_state()" _after_ the wait-queue add,
239 * wake-function that tests for the wait-queue being active
327 * Note! These two wait functions are entered with the
328 * wait-queue lock held (and interrupts off in the _irq
330 * condition in the caller before they add the wait
333 int do_wait_intr(wait_queue_head_t *wq, wait_queue_entry_t *wait)
335 if (likely(list_empty(&wait->entry)))
336 __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);
370 * @wq_entry: wait descriptor
373 * the wait descriptor from the given waitqueue if still
414 * DEFINE_WAIT_FUNC(wait, woken_wake_func);
416 * add_wait_queue(&wq_head, &wait);
431 * remove_wait_queue(&wq_head, &wait); wq_entry->flags |= WQ_FLAG_WOKEN;
448 * in woken_wake_function() such that either we see the wait condition