Lines Matching refs:tc
43 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_prepare() local
45 tcp_sock_set_cork(tc->t_sock->sk, true); in rds_tcp_xmit_path_prepare()
50 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_complete() local
52 tcp_sock_set_cork(tc->t_sock->sk, false); in rds_tcp_xmit_path_complete()
74 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit() local
85 tc->t_last_sent_nxt = rds_tcp_write_seq(tc); in rds_tcp_xmit()
86 rm->m_ack_seq = tc->t_last_sent_nxt + in rds_tcp_xmit()
91 tc->t_last_expected_una = rm->m_ack_seq + 1; in rds_tcp_xmit()
97 rm, rds_tcp_write_seq(tc), in rds_tcp_xmit()
103 set_bit(SOCK_NOSPACE, &tc->t_sock->sk->sk_socket->flags); in rds_tcp_xmit()
105 ret = rds_tcp_sendmsg(tc->t_sock, in rds_tcp_xmit()
125 ret = sock_sendmsg(tc->t_sock, &msg); in rds_tcp_xmit()
183 struct rds_tcp_connection *tc; in rds_tcp_write_space() local
192 tc = cp->cp_transport_data; in rds_tcp_write_space()
193 rdsdebug("write_space for tc %p\n", tc); in rds_tcp_write_space()
194 write_space = tc->t_orig_write_space; in rds_tcp_write_space()
197 rdsdebug("tcp una %u\n", rds_tcp_snd_una(tc)); in rds_tcp_write_space()
198 tc->t_last_seen_una = rds_tcp_snd_una(tc); in rds_tcp_write_space()
199 rds_send_path_drop_acked(cp, rds_tcp_snd_una(tc), rds_tcp_is_acked); in rds_tcp_write_space()