Lines Matching refs:wait
134 remove_wait_queue(entry->wait_address, &entry->wait); in free_poll_entry()
184 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
186 struct poll_wqueues *pwq = wait->private; in __pollwake()
210 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
214 entry = container_of(wait, struct poll_table_entry, wait); in pollwake()
217 return __pollwake(wait, mode, sync, key); in pollwake()
231 init_waitqueue_func_entry(&entry->wait, pollwake); in __pollwait()
232 entry->wait.private = pwq; in __pollwait()
233 add_wait_queue(wait_address, &entry->wait); in __pollwait()
465 static inline void wait_key_set(poll_table *wait, unsigned long in, in wait_key_set() argument
469 wait->_key = POLLEX_SET | ll_flag; in wait_key_set()
471 wait->_key |= POLLIN_SET; in wait_key_set()
473 wait->_key |= POLLOUT_SET; in wait_key_set()
480 poll_table *wait; in do_select() local
495 wait = &table.pt; in do_select()
497 wait->_qproc = NULL; in do_select()
532 wait_key_set(wait, in, out, bit, in do_select()
534 mask = vfs_poll(f.file, wait); in do_select()
540 wait->_qproc = NULL; in do_select()
545 wait->_qproc = NULL; in do_select()
550 wait->_qproc = NULL; in do_select()
574 wait->_qproc = NULL; in do_select()
871 static int do_poll(struct poll_list *list, struct poll_wqueues *wait, in do_poll() argument
874 poll_table* pt = &wait->pt; in do_poll()
923 count = wait->error; in do_poll()
951 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()