Lines Matching full:wait
21 #include <linux/wait.h>
45 wake_up_interruptible_poll(&wq->wait, EPOLLOUT | in sk_stream_write_space()
54 * sk_stream_wait_connect - Wait for a socket to get into the connected state
55 * @sk: sock to wait on
56 * @timeo_p: for how long to wait
62 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_connect()
77 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect()
82 ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)), &wait); in sk_stream_wait_connect()
83 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect()
103 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_close()
105 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_close()
108 if (sk_wait_event(sk, &timeout, !sk_stream_closing(sk), &wait)) in sk_stream_wait_close()
112 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_close()
118 * sk_stream_wait_memory - Wait for more memory for a socket
119 * @sk: socket to wait for memory
127 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_memory()
132 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_memory()
152 &wait); in sk_stream_wait_memory()
169 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_memory()