Lines Matching refs:wait
227 wait_queue_t wait; member
332 return container_of(p, struct eppoll_entry, wait); in ep_pwq_from_wait()
338 return container_of(p, struct eppoll_entry, wait)->base; in ep_item_from_wait()
515 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
767 static unsigned int ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll() argument
773 poll_wait(file, &ep->poll_wait, wait); in ep_eventpoll_poll()
897 static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *key) in ep_poll_callback() argument
901 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
905 ep_pwq_from_wait(wait)->whead = NULL; in ep_poll_callback()
912 list_del_init(&wait->task_list); in ep_poll_callback()
993 init_waitqueue_func_entry(&pwq->wait, ep_poll_callback); in ep_ptable_queue_proc()
996 add_wait_queue(whead, &pwq->wait); in ep_ptable_queue_proc()
1473 wait_queue_t wait; in ep_poll() local
1501 init_waitqueue_entry(&wait, current); in ep_poll()
1502 __add_wait_queue_exclusive(&ep->wq, &wait); in ep_poll()
1525 __remove_wait_queue(&ep->wq, &wait); in ep_poll()