Lines Matching refs:sc_sock
86 kref_read(&__sc->sc_kref), __sc->sc_sock, \
385 if (sc->sc_sock) { in sc_kref_release()
386 sock_release(sc->sc_sock); in sc_kref_release()
387 sc->sc_sock = NULL; in sc_kref_release()
724 if (o2net_unregister_callbacks(sc->sc_sock->sk, sc)) { in o2net_shutdown_sc()
730 kernel_sock_shutdown(sc->sc_sock, SHUT_RDWR); in o2net_shutdown_sc()
946 ret = sock_sendmsg(sc->sc_sock, &msg); in o2net_sendpage()
1099 ret = o2net_send_tcp_msg(sc->sc_sock, vec, veclen, in o2net_send_message_vec()
1237 ret = o2net_send_status_magic(sc->sc_sock, hdr, syserr, in o2net_process_message()
1349 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1366 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1399 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
1608 sc->sc_sock = sock; /* freed by sc_kref_release */ in o2net_start_connect()
1625 tcp_sock_set_nodelay(sc->sc_sock->sk); in o2net_start_connect()
1628 o2net_register_callbacks(sc->sc_sock->sk, sc); in o2net_start_connect()
1639 ret = sc->sc_sock->ops->connect(sc->sc_sock, in o2net_start_connect()
1880 sc->sc_sock = new_sock; in o2net_accept_one()
1888 o2net_register_callbacks(sc->sc_sock->sk, sc); in o2net_accept_one()