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