Lines Matching refs:new_sock
1783 struct socket *new_sock = NULL; in o2net_accept_one() local
1802 sock->sk->sk_protocol, &new_sock); in o2net_accept_one()
1806 new_sock->type = sock->type; in o2net_accept_one()
1807 new_sock->ops = sock->ops; in o2net_accept_one()
1808 ret = sock->ops->accept(sock, new_sock, &arg); in o2net_accept_one()
1813 new_sock->sk->sk_allocation = GFP_ATOMIC; in o2net_accept_one()
1815 tcp_sock_set_nodelay(new_sock->sk); in o2net_accept_one()
1816 tcp_sock_set_user_timeout(new_sock->sk, O2NET_TCP_USER_TIMEOUT); in o2net_accept_one()
1818 ret = new_sock->ops->getname(new_sock, (struct sockaddr *) &sin, 1); in o2net_accept_one()
1880 sc->sc_sock = new_sock; in o2net_accept_one()
1881 new_sock = NULL; in o2net_accept_one()
1895 if (new_sock) in o2net_accept_one()
1896 sock_release(new_sock); in o2net_accept_one()