Lines Matching refs:sk_sock
266 struct socket *sock = svsk->sk_sock; in svc_tcp_sock_recv_cmsg()
343 struct socket *sock = svsk->sk_sock; in svc_sock_setbufsize()
405 return !test_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_tcp_has_wspace()
412 sock_no_linger(svsk->sk_sock->sk); in svc_tcp_kill_temp_xprt()
448 struct sock *sk = svsk->sk_sock->sk; in svc_tcp_handshake()
450 .ta_sock = svsk->sk_sock, in svc_tcp_handshake()
594 err = kernel_recvmsg(svsk->sk_sock, &msg, NULL, in svc_udp_recvfrom()
721 err = sock_sendmsg(svsk->sk_sock, &msg); in svc_udp_sendto()
726 err = sock_sendmsg(svsk->sk_sock, &msg); in svc_udp_sendto()
749 set_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_udp_has_wspace()
753 clear_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_udp_has_wspace()
798 svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_udp_class, in svc_udp_init()
817 ip_sock_set_pktinfo(svsk->sk_sock->sk); in svc_udp_init()
820 ip6_sock_set_recvpktinfo(svsk->sk_sock->sk); in svc_udp_init()
871 trace_svcsock_tcp_state(&svsk->sk_xprt, svsk->sk_sock); in svc_tcp_state_change()
886 struct socket *sock = svsk->sk_sock; in svc_tcp_accept()
1237 ret = sock_sendmsg(svsk->sk_sock, &msg); in svc_tcp_sendmsg()
1336 svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_tcp_class, in svc_tcp_init()
1411 svsk->sk_sock = sock; in svc_setup_socket()
1481 salen = kernel_getsockname(svsk->sk_sock, sin); in svc_addsock()
1595 tls_handshake_close(svsk->sk_sock); in svc_tcp_sock_detach()
1601 kernel_sock_shutdown(svsk->sk_sock, SHUT_RDWR); in svc_tcp_sock_detach()
1612 struct socket *sock = svsk->sk_sock; in svc_sock_free()