Home
last modified time | relevance | path

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

/linux/net/rds/
H A 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()
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()
226 ret = cp->cp_conn->c_trans->recv_path(cp); in rds_recv_worker()
[all …]
H A 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()
210 cp->cp_conn, tc, sock); in rds_tcp_conn_path_shutdown()
213 if (rds_destroy_pending(cp->cp_conn)) in rds_tcp_conn_path_shutdown()
H A Dtcp.c114 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_restore_callbacks()
205 if (!tc->t_cpath->cp_conn->c_isv6) in rds_tcp_set_callbacks()
246 if (tc->t_cpath->cp_conn->c_isv6) in rds_tcp_tc_info()
259 tsinfo.tos = tc->t_cpath->cp_conn->c_tos; in rds_tcp_tc_info()
410 if (tc->t_cpath->cp_conn == conn) in list_has_conn()
434 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) in rds_tcp_destroy_conns()
440 rds_conn_destroy(tc->t_cpath->cp_conn); in rds_tcp_destroy_conns()
616 struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); in rds_tcp_kill_sock()
620 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock()
629 rds_conn_destroy(tc->t_cpath->cp_conn); in rds_tcp_kill_sock()
[all …]
H A 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()
884 if (!destroy && rds_destroy_pending(cp->cp_conn)) { in rds_conn_path_drop()
907 if (rds_destroy_pending(cp->cp_conn)) { in rds_conn_path_connect_if_down()
H A Dsend.c88 cp->cp_conn->c_map_queued = 0; in rds_send_path_reset()
138 struct rds_connection *conn = cp->cp_conn; in rds_send_xmit()
165 if (rds_destroy_pending(cp->cp_conn)) { in rds_send_xmit()
226 rm->m_inc.i_conn = cp->cp_conn; in rds_send_xmit()
458 if (rds_destroy_pending(cp->cp_conn)) in rds_send_xmit()
1380 if (rds_destroy_pending(cpath->cp_conn)) in rds_sendmsg()
1434 rm->m_daddr = cp->cp_conn->c_faddr; in rds_send_probe()
1447 rm->m_inc.i_conn = cp->cp_conn; in rds_send_probe()
1456 cp->cp_conn->c_trans->t_mp_capable) { in rds_send_probe()
1458 u32 my_gen_num = cpu_to_be32(cp->cp_conn->c_my_gen_num); in rds_send_probe()
[all …]
H A Dtcp_recv.c183 &cp->cp_conn->c_faddr); in rds_tcp_data_recv()
238 struct rds_connection *conn = cp->cp_conn; in rds_tcp_data_recv()
329 if (!rds_destroy_pending(cp->cp_conn)) in rds_tcp_data_ready()
H A Drecv.c63 inc->i_conn = cp->cp_conn; in rds_inc_path_init()
348 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
349 rds_start_mprds(cp->cp_conn); in rds_recv_incoming()
356 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
358 rds_start_mprds(cp->cp_conn); in rds_recv_incoming()
359 wake_up(&cp->cp_conn->c_hs_waitq); in rds_recv_incoming()
H A Dloop.c169 rds_connect_complete(cp->cp_conn); in rds_loop_conn_path_connect()
H A Dtcp_send.c203 !rds_destroy_pending(cp->cp_conn)) in rds_tcp_write_space()
H A Dtcp_listen.c218 rds_send_ping(cp->cp_conn, cp->cp_index); in rds_tcp_accept_one()
H A Dcong.c229 !rds_destroy_pending(cp->cp_conn)) { in rds_cong_queue_updates()
H A Drdma.c291 sg, nents, rs, &mr->r_key, cp ? cp->cp_conn : NULL, in __rds_rdma_map()
306 rds_conn_connect_if_down(cp->cp_conn); in __rds_rdma_map()
H A 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()
H A Drds.h103 struct rds_connection *cp_conn; member
H A Dib_recv.c1044 struct rds_connection *conn = cp->cp_conn; in rds_ib_recv_path()
H A Dib_send.c1011 struct rds_connection *conn = cp->cp_conn; in rds_ib_xmit_path_complete()