Lines Matching refs:wait
249 wait_queue_entry_t wait; member
348 return container_of(p, struct eppoll_entry, wait); in ep_pwq_from_wait()
354 return container_of(p, struct eppoll_entry, wait)->base; in ep_item_from_wait()
614 remove_wait_queue(whead, &pwq->wait); in ep_remove_wait_queue()
934 static __poll_t ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll() argument
940 poll_wait(file, &ep->poll_wait, wait); in ep_eventpoll_poll()
1215 static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in ep_poll_callback() argument
1218 struct epitem *epi = ep_item_from_wait(wait); in ep_poll_callback()
1303 list_del_init(&wait->entry); in ep_poll_callback()
1310 smp_store_release(&ep_pwq_from_wait(wait)->whead, NULL); in ep_poll_callback()
1327 init_waitqueue_func_entry(&pwq->wait, ep_poll_callback); in ep_ptable_queue_proc()
1331 add_wait_queue_exclusive(whead, &pwq->wait); in ep_ptable_queue_proc()
1333 add_wait_queue(whead, &pwq->wait); in ep_ptable_queue_proc()
1858 wait_queue_entry_t wait; in ep_poll() local
1920 init_wait(&wait); in ep_poll()
1921 wait.func = ep_autoremove_wake_function; in ep_poll()
1943 __add_wait_queue_exclusive(&ep->wq, &wait); in ep_poll()
1961 if (!list_empty_careful(&wait.entry)) { in ep_poll()
1970 eavail = list_empty(&wait.entry); in ep_poll()
1971 __remove_wait_queue(&ep->wq, &wait); in ep_poll()