Lines Matching refs:wait

132 	remove_wait_queue(entry->wait_address, &entry->wait);  in free_poll_entry()
182 static int __pollwake(wait_queue_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_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()
388 static inline void wait_key_set(poll_table *wait, unsigned long in, in wait_key_set() argument
392 wait->_key = POLLEX_SET | ll_flag; in wait_key_set()
394 wait->_key |= POLLIN_SET; in wait_key_set()
396 wait->_key |= POLLOUT_SET; in wait_key_set()
403 poll_table *wait; in do_select() local
418 wait = &table.pt; in do_select()
420 wait->_qproc = NULL; in do_select()
458 wait_key_set(wait, in, out, in do_select()
460 mask = (*f_op->poll)(f.file, wait); in do_select()
466 wait->_qproc = NULL; in do_select()
471 wait->_qproc = NULL; in do_select()
476 wait->_qproc = NULL; in do_select()
500 wait->_qproc = NULL; in do_select()
782 struct poll_wqueues *wait, struct timespec *end_time) in do_poll() argument
784 poll_table* pt = &wait->pt; in do_poll()
833 count = wait->error; in do_poll()
861 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()