Lines Matching refs:wait
132 remove_wait_queue(entry->wait_address, &entry->wait); in free_poll_entry()
182 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
184 struct poll_wqueues *pwq = wait->private; in __pollwake()
208 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
212 entry = container_of(wait, struct poll_table_entry, wait); in pollwake()
215 return __pollwake(wait, mode, sync, key); in pollwake()
229 init_waitqueue_func_entry(&entry->wait, pollwake); in __pollwait()
230 entry->wait.private = pwq; in __pollwait()
231 add_wait_queue(wait_address, &entry->wait); in __pollwait()
465 static inline __poll_t select_poll_one(int fd, poll_table *wait, unsigned long in, in select_poll_one() argument
474 wait->_key = POLLEX_SET | ll_flag; in select_poll_one()
476 wait->_key |= POLLIN_SET; in select_poll_one()
478 wait->_key |= POLLOUT_SET; in select_poll_one()
480 return vfs_poll(fd_file(f), wait); in select_poll_one()
487 poll_table *wait; in do_select() local
502 wait = &table.pt; in do_select()
504 wait->_qproc = NULL; in do_select()
536 mask = select_poll_one(i, wait, in, out, bit, in do_select()
541 wait->_qproc = NULL; in do_select()
546 wait->_qproc = NULL; in do_select()
551 wait->_qproc = NULL; in do_select()
574 wait->_qproc = NULL; in do_select()
876 static int do_poll(struct poll_list *list, struct poll_wqueues *wait, in do_poll() argument
879 poll_table* pt = &wait->pt; in do_poll()
930 count = wait->error; in do_poll()
958 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()