Lines Matching refs:tc
159 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_data_recv() local
160 struct rds_tcp_incoming *tinc = tc->t_tinc; in rds_tcp_data_recv()
164 rdsdebug("tcp data tc %p skb %p offset %u len %zu\n", tc, skb, offset, in rds_tcp_data_recv()
179 tc->t_tinc = tinc; in rds_tcp_data_recv()
190 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv()
191 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv()
197 tc->t_tinc_hdr_rem, in rds_tcp_data_recv()
199 tc->t_tinc_hdr_rem -= to_copy; in rds_tcp_data_recv()
203 if (tc->t_tinc_hdr_rem == 0) { in rds_tcp_data_recv()
205 tc->t_tinc_data_rem = in rds_tcp_data_recv()
210 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv()
211 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv()
226 tc->t_tinc_data_rem -= to_copy; in rds_tcp_data_recv()
231 if (tc->t_tinc_hdr_rem == 0 && tc->t_tinc_data_rem == 0) { in rds_tcp_data_recv()
241 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
242 tc->t_tinc_data_rem = 0; in rds_tcp_data_recv()
243 tc->t_tinc = NULL; in rds_tcp_data_recv()
251 skb_queue_len(&tc->t_sock->sk->sk_receive_queue)); in rds_tcp_data_recv()
258 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_read_sock() local
259 struct socket *sock = tc->t_sock; in rds_tcp_read_sock()
271 rdsdebug("tcp_read_sock for tc %p gfp 0x%x returned %d\n", tc, gfp, in rds_tcp_read_sock()
286 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_recv_path() local
287 struct socket *sock = tc->t_sock; in rds_tcp_recv_path()
291 cp->cp_index, tc, sock); in rds_tcp_recv_path()
304 struct rds_tcp_connection *tc; in rds_tcp_data_ready() local
315 tc = cp->cp_transport_data; in rds_tcp_data_ready()
316 ready = tc->t_orig_data_ready; in rds_tcp_data_ready()