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);
192 init_waitqueue_func_entry(&poll->wait, vhost_poll_wakeup);
202 /* Start polling a file. We add ourselves to file's wait queue. The caller must
213 vhost_poll_wakeup(&poll->wait, 0, 0, poll_to_key(mask));
228 remove_wait_queue(poll->wqh, &poll->wait);
491 init_waitqueue_head(&dev->wait);
715 wake_up_interruptible_poll(&dev->wait, EPOLLIN | EPOLLRDNORM);
1191 poll_table *wait)
1195 poll_wait(file, &dev->wait, wait);
1207 DEFINE_WAIT(wait);
1217 prepare_to_wait(&dev->wait, &wait,
1240 finish_wait(&dev->wait, &wait);
2598 wake_up_interruptible_poll(&dev->wait, EPOLLIN | EPOLLRDNORM);