Lines Matching refs:sock
20 #include <net/sock.h>
22 void sk_stream_write_space(struct sock *sk)
24 struct socket *sock = sk->sk_socket;
27 if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk) && sock) {
28 clear_bit(SOCK_NOSPACE, &sock->flags);
36 sock_wake_async(sock, SOCK_WAKE_SPACE, POLL_OUT);
44 * @sk: sock to wait on
49 int sk_stream_wait_connect(struct sock *sk, long *timeo_p)
83 static inline int sk_stream_closing(struct sock *sk)
89 void sk_stream_wait_close(struct sock *sk, long timeout)
111 int sk_stream_wait_memory(struct sock *sk, long *timeo_p)
170 int sk_stream_error(struct sock *sk, int flags, int err)
180 void sk_stream_kill_queues(struct sock *sk)