Lines Matching refs:sc_sock
99 atomic_read(&__sc->sc_kref.refcount), __sc->sc_sock, \
404 if (sc->sc_sock) { in sc_kref_release()
405 sock_release(sc->sc_sock); in sc_kref_release()
406 sc->sc_sock = NULL; in sc_kref_release()
738 if (o2net_unregister_callbacks(sc->sc_sock->sk, sc)) { in o2net_shutdown_sc()
744 kernel_sock_shutdown(sc->sc_sock, SHUT_RDWR); in o2net_shutdown_sc()
983 ret = sc->sc_sock->ops->sendpage(sc->sc_sock, in o2net_sendpage()
1120 ret = o2net_send_tcp_msg(sc->sc_sock, vec, veclen, in o2net_send_message_vec()
1261 ret = o2net_send_status_magic(sc->sc_sock, hdr, syserr, in o2net_process_message()
1373 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1390 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1423 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1654 sc->sc_sock = sock; /* freed by sc_kref_release */ in o2net_start_connect()
1670 ret = o2net_set_nodelay(sc->sc_sock); in o2net_start_connect()
1676 o2net_register_callbacks(sc->sc_sock->sk, sc); in o2net_start_connect()
1687 ret = sc->sc_sock->ops->connect(sc->sc_sock, in o2net_start_connect()
1916 sc->sc_sock = new_sock; in o2net_accept_one()
1924 o2net_register_callbacks(sc->sc_sock->sk, sc); in o2net_accept_one()