Lines Matching refs:tc
44 struct rds_tcp_connection *tc;
52 tc = cp->cp_transport_data;
53 state_change = tc->t_orig_state_change;
55 rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state);
100 struct rds_tcp_connection *tc = cp->cp_transport_data;
108 mutex_lock(&tc->t_conn_path_lock);
111 mutex_unlock(&tc->t_conn_path_lock);
189 mutex_unlock(&tc->t_conn_path_lock);
206 struct rds_tcp_connection *tc = cp->cp_transport_data;
207 struct socket *sock = tc->t_sock;
209 rdsdebug("shutting down conn %p tc %p sock %p\n",
210 cp->cp_conn, tc, sock);
217 rds_tcp_restore_callbacks(sock, tc); /* tc->tc_sock = NULL */
223 if (tc->t_tinc) {
224 rds_inc_put(&tc->t_tinc->ti_inc);
225 tc->t_tinc = NULL;
227 tc->t_tinc_hdr_rem = sizeof(struct rds_header);
228 tc->t_tinc_data_rem = 0;