Lines Matching refs:newsock
743 struct socket *newsock; in svc_tcp_accept() local
751 err = kernel_accept(sock, &newsock, O_NONBLOCK); in svc_tcp_accept()
764 err = kernel_getpeername(newsock, sin); in svc_tcp_accept()
772 newsock->sk->sk_state_change = svsk->sk_ostate; in svc_tcp_accept()
773 newsock->sk->sk_data_ready = svsk->sk_odata; in svc_tcp_accept()
774 newsock->sk->sk_write_space = svsk->sk_owspace; in svc_tcp_accept()
779 newsock->sk->sk_sndtimeo = HZ*30; in svc_tcp_accept()
781 newsvsk = svc_setup_socket(serv, newsock, in svc_tcp_accept()
786 err = kernel_getsockname(newsock, sin); in svc_tcp_accept()
792 if (sock_is_loopback(newsock->sk)) in svc_tcp_accept()
802 sock_release(newsock); in svc_tcp_accept()