Lines Matching defs:wait
43 #include <linux/wait.h>
461 * it needs to transfer another ASCONF Chunk, it MUST wait until the
8642 __poll_t sctp_poll(struct file *file, struct socket *sock, poll_table *wait)
8648 poll_wait(file, sk_sleep(sk), wait);
8960 DEFINE_WAIT(wait);
8962 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE);
8999 finish_wait(sk_sleep(sk), &wait);
9006 finish_wait(sk_sleep(sk), &wait);
9054 /* User doesn't want to wait. */
9075 if (waitqueue_active(&asoc->wait))
9076 wake_up_interruptible(&asoc->wait);
9084 if (waitqueue_active(&wq->wait))
9085 wake_up_interruptible(&wq->wait);
9199 /* Helper function to wait for space in the sndbuf. */
9205 DEFINE_WAIT(wait);
9216 prepare_to_wait_exclusive(&asoc->wait, &wait,
9243 finish_wait(&asoc->wait, &wait);
9276 wake_up_interruptible_sync_poll(&wq->wait, EPOLLIN |
9287 /* Wake up the tasks in each wait queue. */
9317 DEFINE_WAIT(wait);
9325 prepare_to_wait_exclusive(&asoc->wait, &wait,
9351 finish_wait(&asoc->wait, &wait);
9378 DEFINE_WAIT(wait);
9384 prepare_to_wait_exclusive(sk_sleep(sk), &wait,
9410 finish_wait(sk_sleep(sk), &wait);
9417 DEFINE_WAIT(wait);
9420 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE);
9428 finish_wait(sk_sleep(sk), &wait);