Lines Matching refs:wait
242 wait_queue_t wait; member
347 return container_of(p, struct eppoll_entry, wait); in ep_pwq_from_wait()
353 return container_of(p, struct eppoll_entry, wait)->base; in ep_item_from_wait()
535 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
855 static unsigned int ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll() argument
865 arg.locked = wait && (wait->_qproc == ep_ptable_queue_proc); in ep_eventpoll_poll()
869 poll_wait(file, &ep->poll_wait, wait); in ep_eventpoll_poll()
1010 static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *key) in ep_poll_callback() argument
1014 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1108 list_del_init(&wait->task_list); in ep_poll_callback()
1115 smp_store_release(&ep_pwq_from_wait(wait)->whead, NULL); in ep_poll_callback()
1132 init_waitqueue_func_entry(&pwq->wait, ep_poll_callback); in ep_ptable_queue_proc()
1136 add_wait_queue_exclusive(whead, &pwq->wait); in ep_ptable_queue_proc()
1138 add_wait_queue(whead, &pwq->wait); in ep_ptable_queue_proc()
1631 wait_queue_t wait; in ep_poll() local
1659 init_waitqueue_entry(&wait, current); in ep_poll()
1660 __add_wait_queue_exclusive(&ep->wq, &wait); in ep_poll()
1684 __remove_wait_queue(&ep->wq, &wait); in ep_poll()