Lines Matching refs:sk_sock

268 	len = sock_recvmsg(svsk->sk_sock, &msg, MSG_DONTWAIT);  in svc_tcp_read_msg()
287 struct socket *sock = svsk->sk_sock; in svc_sock_setbufsize()
345 return !test_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_tcp_has_wspace()
352 sock_no_linger(svsk->sk_sock->sk); in svc_tcp_kill_temp_xprt()
452 err = kernel_recvmsg(svsk->sk_sock, &msg, NULL, in svc_udp_recvfrom()
575 err = xprt_sock_sendmsg(svsk->sk_sock, &msg, xdr, 0, 0, &sent); in svc_udp_sendto()
578 err = xprt_sock_sendmsg(svsk->sk_sock, &msg, xdr, 0, 0, &sent); in svc_udp_sendto()
603 set_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_udp_has_wspace()
607 clear_bit(SOCK_NOSPACE, &svsk->sk_sock->flags); in svc_udp_has_wspace()
653 svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_udp_class, in svc_udp_init()
672 ip_sock_set_pktinfo(svsk->sk_sock->sk); in svc_udp_init()
675 ip6_sock_set_recvpktinfo(svsk->sk_sock->sk); in svc_udp_init()
725 trace_svcsock_tcp_state(&svsk->sk_xprt, svsk->sk_sock); in svc_tcp_state_change()
740 struct socket *sock = svsk->sk_sock; in svc_tcp_accept()
878 len = sock_recvmsg(svsk->sk_sock, &msg, MSG_DONTWAIT); in svc_tcp_read_marker()
1169 err = svc_tcp_sendmsg(svsk->sk_sock, xdr, marker, &sent); in svc_tcp_sendto()
1240 svc_xprt_init(sock_net(svsk->sk_sock->sk), &svc_tcp_class, in svc_tcp_init()
1316 svsk->sk_sock = sock; in svc_setup_socket()
1398 salen = kernel_getsockname(svsk->sk_sock, sin); in svc_addsock()
1516 kernel_sock_shutdown(svsk->sk_sock, SHUT_RDWR); in svc_tcp_sock_detach()
1527 if (svsk->sk_sock->file) in svc_sock_free()
1528 sockfd_put(svsk->sk_sock); in svc_sock_free()
1530 sock_release(svsk->sk_sock); in svc_sock_free()