Lines Matching defs:wait
43 #include <linux/wait.h>
459 * it needs to transfer another ASCONF Chunk, it MUST wait until the
8390 __poll_t sctp_poll(struct file *file, struct socket *sock, poll_table *wait)
8396 poll_wait(file, sk_sleep(sk), wait);
8708 DEFINE_WAIT(wait);
8710 prepare_to_wait_exclusive(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE);
8747 finish_wait(sk_sleep(sk), &wait);
8754 finish_wait(sk_sleep(sk), &wait);
8809 /* User doesn't want to wait. */
8830 if (waitqueue_active(&asoc->wait))
8831 wake_up_interruptible(&asoc->wait);
8839 if (waitqueue_active(&wq->wait))
8840 wake_up_interruptible(&wq->wait);
8954 /* Helper function to wait for space in the sndbuf. */
8960 DEFINE_WAIT(wait);
8971 prepare_to_wait_exclusive(&asoc->wait, &wait,
9000 finish_wait(&asoc->wait, &wait);
9031 wake_up_interruptible_sync_poll(&wq->wait, EPOLLIN |
9042 /* Wake up the tasks in each wait queue. */
9072 DEFINE_WAIT(wait);
9080 prepare_to_wait_exclusive(&asoc->wait, &wait,
9106 finish_wait(&asoc->wait, &wait);
9133 DEFINE_WAIT(wait);
9139 prepare_to_wait_exclusive(sk_sleep(sk), &wait,
9165 finish_wait(sk_sleep(sk), &wait);
9172 DEFINE_WAIT(wait);
9175 prepare_to_wait(sk_sleep(sk), &wait, TASK_INTERRUPTIBLE);
9183 finish_wait(sk_sleep(sk), &wait);