Lines Matching refs:tc
160 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_data_recv() local
161 struct rds_tcp_incoming *tinc = tc->t_tinc; in rds_tcp_data_recv()
165 rdsdebug("tcp data tc %p skb %p offset %u len %zu\n", tc, skb, offset, in rds_tcp_data_recv()
180 tc->t_tinc = tinc; in rds_tcp_data_recv()
194 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv()
195 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv()
201 tc->t_tinc_hdr_rem, in rds_tcp_data_recv()
203 tc->t_tinc_hdr_rem -= to_copy; in rds_tcp_data_recv()
207 if (tc->t_tinc_hdr_rem == 0) { in rds_tcp_data_recv()
209 tc->t_tinc_data_rem = in rds_tcp_data_recv()
216 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv()
217 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv()
232 tc->t_tinc_data_rem -= to_copy; in rds_tcp_data_recv()
237 if (tc->t_tinc_hdr_rem == 0 && tc->t_tinc_data_rem == 0) { in rds_tcp_data_recv()
248 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
249 tc->t_tinc_data_rem = 0; in rds_tcp_data_recv()
250 tc->t_tinc = NULL; in rds_tcp_data_recv()
258 skb_queue_len(&tc->t_sock->sk->sk_receive_queue)); in rds_tcp_data_recv()
265 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_read_sock() local
266 struct socket *sock = tc->t_sock; in rds_tcp_read_sock()
278 rdsdebug("tcp_read_sock for tc %p gfp 0x%x returned %d\n", tc, gfp, in rds_tcp_read_sock()
293 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_recv_path() local
294 struct socket *sock = tc->t_sock; in rds_tcp_recv_path()
298 cp->cp_index, tc, sock); in rds_tcp_recv_path()
311 struct rds_tcp_connection *tc; in rds_tcp_data_ready() local
323 tc = cp->cp_transport_data; in rds_tcp_data_ready()
324 ready = tc->t_orig_data_ready; in rds_tcp_data_ready()