Lines Matching defs:wait
54 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync,
176 INIT_LIST_HEAD(&poll->wait.entry);
177 init_waitqueue_func_entry(&poll->wait, io_poll_wake);
186 list_del_init(&poll->wait.entry);
203 * wake_up_pollfree() will wait for us. However, taking the waitqueue
411 list_del_init(&poll->wait.entry);
423 static int io_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync,
426 struct io_kiocb *req = wqe_to_req(wait);
427 struct io_poll *poll = container_of(wait, struct io_poll, wait);
448 list_del_init(&poll->wait.entry);
450 if (wqe_is_double(wait))
534 poll->wait.private = (void *) wqe_private;
537 add_wait_queue_exclusive(head, &poll->wait);
539 add_wait_queue(head, &poll->wait);