Lines Matching defs:wait
161 add_wait_queue(wqh, &poll->wait);
164 static int vhost_poll_wakeup(wait_queue_entry_t *wait, unsigned mode, int sync,
167 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait);
193 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup);
204 /* Start polling a file. We add ourselves to file's wait queue. The caller must
215 vhost_poll_wakeup(&poll->wait, 0, 0, poll_to_key(mask));
230 remove_wait_queue(poll->wqh, &poll->wait);
525 init_waitqueue_head(&dev->wait);
994 wake_up_interruptible_poll(&dev->wait, EPOLLIN | EPOLLRDNORM);
1483 poll_table *wait)
1487 poll_wait(file, &dev->wait, wait);
1499 DEFINE_WAIT(wait);
1509 prepare_to_wait(&dev->wait, &wait,
1532 finish_wait(&dev->wait, &wait);
2885 wake_up_interruptible_poll(&dev->wait, EPOLLIN | EPOLLRDNORM);