Lines Matching refs:wait
130 remove_wait_queue(entry->wait_address, &entry->wait); in free_poll_entry()
180 static int __pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument
182 struct poll_wqueues *pwq = wait->private; in __pollwake()
206 static int pollwake(wait_queue_t *wait, unsigned mode, int sync, void *key) in pollwake() argument
210 entry = container_of(wait, struct poll_table_entry, wait); in pollwake()
213 return __pollwake(wait, mode, sync, key); in pollwake()
228 init_waitqueue_func_entry(&entry->wait, pollwake); in __pollwait()
229 entry->wait.private = pwq; in __pollwait()
230 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
391 wait->_key = POLLEX_SET; in wait_key_set()
393 wait->_key |= POLLIN_SET; in wait_key_set()
395 wait->_key |= POLLOUT_SET; in wait_key_set()
402 poll_table *wait; in do_select() local
415 wait = &table.pt; in do_select()
417 wait->_qproc = NULL; in do_select()
455 wait_key_set(wait, in, out, bit); in do_select()
456 mask = (*f_op->poll)(file, wait); in do_select()
462 wait->_qproc = NULL; in do_select()
467 wait->_qproc = NULL; in do_select()
472 wait->_qproc = NULL; in do_select()
484 wait->_qproc = NULL; in do_select()
755 struct poll_wqueues *wait, struct timespec *end_time) in do_poll() argument
757 poll_table* pt = &wait->pt; in do_poll()
799 count = wait->error; in do_poll()
816 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()