Home
last modified time | relevance | path

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

/openbmc/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()
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 …]
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.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()
617 struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); in rds_tcp_kill_sock()
621 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock()
630 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()
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()
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()
1439 ret = rds_cong_wait(cp->cp_conn->c_fcong, dport, 1, NULL); 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()
[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.c214 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()