Lines Matching defs: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);
99 struct rds_tcp_connection *tc = cp->cp_transport_data;
107 mutex_lock(&tc->t_conn_path_lock);
110 mutex_unlock(&tc->t_conn_path_lock);
185 mutex_unlock(&tc->t_conn_path_lock);
202 struct rds_tcp_connection *tc = cp->cp_transport_data;
203 struct socket *sock = tc->t_sock;
205 rdsdebug("shutting down conn %p tc %p sock %p\n",
206 cp->cp_conn, tc, sock);
213 rds_tcp_restore_callbacks(sock, tc); /* tc->tc_sock = NULL */
219 if (tc->t_tinc) {
220 rds_inc_put(&tc->t_tinc->ti_inc);
221 tc->t_tinc = NULL;
223 tc->t_tinc_hdr_rem = sizeof(struct rds_header);
224 tc->t_tinc_data_rem = 0;