Home
last modified time | relevance | path

Searched refs:cp_conn (Results 1 – 16 of 16) sorted by relevance

/net/rds/
Dthreads.c86 cp->cp_conn, &cp->cp_conn->c_laddr, &cp->cp_conn->c_faddr); in rds_connect_path_complete()
89 set_bit(0, &cp->cp_conn->c_map_queued); in rds_connect_path_complete()
91 if (!rds_destroy_pending(cp->cp_conn)) { in rds_connect_path_complete()
96 cp->cp_conn->c_proposed_version = RDS_PROTOCOL_VERSION; in rds_connect_path_complete()
127 struct rds_connection *conn = cp->cp_conn; in rds_queue_reconnect()
142 if (!rds_destroy_pending(cp->cp_conn)) in rds_queue_reconnect()
153 if (!rds_destroy_pending(cp->cp_conn)) in rds_queue_reconnect()
167 struct rds_connection *conn = cp->cp_conn; in rds_connect_worker()
171 rds_addr_cmp(&cp->cp_conn->c_laddr, &cp->cp_conn->c_faddr) >= 0) in rds_connect_worker()
202 rdsdebug("conn %p ret %d\n", cp->cp_conn, ret); in rds_send_worker()
[all …]
Dtcp_connect.c69 if (rds_addr_cmp(&cp->cp_conn->c_laddr, in rds_tcp_state_change()
70 &cp->cp_conn->c_faddr) >= 0 && in rds_tcp_state_change()
99 struct rds_connection *conn = cp->cp_conn; in rds_tcp_conn_path_connect()
105 if (cp->cp_index > 0 && cp->cp_conn->c_npaths < 2) in rds_tcp_conn_path_connect()
207 cp->cp_conn, tc, sock); in rds_tcp_conn_path_shutdown()
210 if (rds_destroy_pending(cp->cp_conn)) in rds_tcp_conn_path_shutdown()
Dtcp.c115 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_restore_callbacks()
206 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_set_callbacks()
247 if (tc->t_cpath->cp_conn->c_isv6) in rds_tcp_tc_info()
260 tsinfo.tos = tc->t_cpath->cp_conn->c_tos; in rds_tcp_tc_info()
411 if (tc->t_cpath->cp_conn == conn) in list_has_conn()
435 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) in rds_tcp_destroy_conns()
441 rds_conn_destroy(tc->t_cpath->cp_conn); in rds_tcp_destroy_conns()
599 struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); in rds_tcp_kill_sock()
603 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock()
612 rds_conn_destroy(tc->t_cpath->cp_conn); in rds_tcp_kill_sock()
[all …]
Dconnection.c115 struct rds_connection *conn = cp->cp_conn; in rds_conn_path_reset()
139 cp->cp_conn = conn; in __rds_conn_path_init()
143 cp->cp_conn->c_proposed_version = RDS_PROTOCOL_VERSION; in __rds_conn_path_init()
369 struct rds_connection *conn = cp->cp_conn; in rds_conn_shutdown()
471 cp->cp_conn->c_trans->conn_free(cp->cp_transport_data); in rds_conn_path_destroy()
742 struct rds_connection *conn = cp->cp_conn; in rds_conn_info_visitor()
772 struct rds_connection *conn = cp->cp_conn; in rds6_conn_info_visitor()
886 if (!destroy && rds_destroy_pending(cp->cp_conn)) { in rds_conn_path_drop()
909 if (rds_destroy_pending(cp->cp_conn)) { in rds_conn_path_connect_if_down()
Dsend.c88 cp->cp_conn->c_map_queued = 0; in rds_send_path_reset()
139 struct rds_connection *conn = cp->cp_conn; in rds_send_xmit()
166 if (rds_destroy_pending(cp->cp_conn)) { in rds_send_xmit()
227 rm->m_inc.i_conn = cp->cp_conn; in rds_send_xmit()
459 if (rds_destroy_pending(cp->cp_conn)) in rds_send_xmit()
1386 if (rds_destroy_pending(cpath->cp_conn)) in rds_sendmsg()
1440 rm->m_daddr = cp->cp_conn->c_faddr; in rds_send_probe()
1445 ret = rds_cong_wait(cp->cp_conn->c_fcong, dport, 1, NULL); in rds_send_probe()
1453 rm->m_inc.i_conn = cp->cp_conn; in rds_send_probe()
1462 cp->cp_conn->c_trans->t_mp_capable) { in rds_send_probe()
[all …]
Dtcp_recv.c182 &cp->cp_conn->c_faddr); in rds_tcp_data_recv()
237 struct rds_connection *conn = cp->cp_conn; in rds_tcp_data_recv()
327 if (!rds_destroy_pending(cp->cp_conn)) in rds_tcp_data_ready()
Drecv.c62 inc->i_conn = cp->cp_conn; in rds_inc_path_init()
347 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
348 rds_start_mprds(cp->cp_conn); in rds_recv_incoming()
355 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
357 rds_start_mprds(cp->cp_conn); in rds_recv_incoming()
358 wake_up(&cp->cp_conn->c_hs_waitq); in rds_recv_incoming()
Dloop.c169 rds_connect_complete(cp->cp_conn); in rds_loop_conn_path_connect()
Dtcp_send.c202 !rds_destroy_pending(cp->cp_conn)) in rds_tcp_write_space()
Dtcp_listen.c210 rds_send_ping(cp->cp_conn, cp->cp_index); in rds_tcp_accept_one()
Dcong.c229 !rds_destroy_pending(cp->cp_conn)) { in rds_cong_queue_updates()
Dib_cm.c972 struct rds_connection *conn = cp->cp_conn; in rds_ib_conn_path_connect()
1048 struct rds_connection *conn = cp->cp_conn; in rds_ib_conn_path_shutdown()
Drds.h103 struct rds_connection *cp_conn; member
Drdma.c291 sg, nents, rs, &mr->r_key, cp ? cp->cp_conn : NULL, in __rds_rdma_map()
Dib_recv.c1043 struct rds_connection *conn = cp->cp_conn; in rds_ib_recv_path()
Dib_send.c1011 struct rds_connection *conn = cp->cp_conn; in rds_ib_xmit_path_complete()