Lines Matching refs:wait
119 wait_queue_entry_t wait; member
373 return container_of(p, struct eppoll_entry, wait); in ep_pwq_from_wait()
379 return container_of(p, struct eppoll_entry, wait)->base; in ep_item_from_wait()
676 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
973 static __poll_t __ep_eventpoll_poll(struct file *file, poll_table *wait, int depth) in __ep_eventpoll_poll() argument
984 poll_wait(file, &ep->poll_wait, wait); in __ep_eventpoll_poll()
1066 static __poll_t ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll() argument
1068 return __ep_eventpoll_poll(file, wait, 0); in ep_eventpoll_poll()
1337 static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in ep_poll_callback() argument
1340 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1428 list_del_init(&wait->entry); in ep_poll_callback()
1435 smp_store_release(&ep_pwq_from_wait(wait)->whead, NULL); in ep_poll_callback()
1461 init_waitqueue_func_entry(&pwq->wait, ep_poll_callback); in ep_ptable_queue_proc()
1465 add_wait_queue_exclusive(whead, &pwq->wait); in ep_ptable_queue_proc()
1467 add_wait_queue(whead, &pwq->wait); in ep_ptable_queue_proc()
2028 wait_queue_entry_t wait; in ep_poll() local
2089 init_wait(&wait); in ep_poll()
2090 wait.func = ep_autoremove_wake_function; in ep_poll()
2109 __add_wait_queue_exclusive(&ep->wq, &wait); in ep_poll()
2126 if (!list_empty_careful(&wait.entry)) { in ep_poll()
2136 eavail = list_empty(&wait.entry); in ep_poll()
2137 __remove_wait_queue(&ep->wq, &wait); in ep_poll()