• Home
  • Raw
  • Download

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()
467 static inline void wait_key_set(poll_table *wait, unsigned long in, in wait_key_set() argument
471 wait->_key = POLLEX_SET | ll_flag; in wait_key_set()
473 wait->_key |= POLLIN_SET; in wait_key_set()
475 wait->_key |= POLLOUT_SET; in wait_key_set()
482 poll_table *wait; in do_select() local
497 wait = &table.pt; in do_select()
499 wait->_qproc = NULL; in do_select()
535 wait_key_set(wait, in, out, bit, in do_select()
537 mask = vfs_poll(f.file, wait); in do_select()
544 wait->_qproc = NULL; in do_select()
549 wait->_qproc = NULL; in do_select()
554 wait->_qproc = NULL; in do_select()
577 wait->_qproc = NULL; in do_select()
884 static int do_poll(struct poll_list *list, struct poll_wqueues *wait, in do_poll() argument
887 poll_table* pt = &wait->pt; in do_poll()
936 count = wait->error; in do_poll()
964 if (!poll_schedule_timeout(wait, TASK_INTERRUPTIBLE, to, slack)) in do_poll()