Searched refs:cp_conn (Results 1 – 16 of 16) sorted by relevance
/linux/net/rds/ |
H A D | threads.c | 86 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 D | tcp_connect.c | 69 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 D | tcp.c | 114 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 D | connection.c | 115 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 D | send.c | 88 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 D | tcp_recv.c | 183 &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 D | recv.c | 63 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 D | loop.c | 169 rds_connect_complete(cp->cp_conn); in rds_loop_conn_path_connect()
|
H A D | tcp_send.c | 203 !rds_destroy_pending(cp->cp_conn)) in rds_tcp_write_space()
|
H A D | tcp_listen.c | 218 rds_send_ping(cp->cp_conn, cp->cp_index); in rds_tcp_accept_one()
|
H A D | cong.c | 229 !rds_destroy_pending(cp->cp_conn)) { in rds_cong_queue_updates()
|
H A D | rdma.c | 291 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 D | ib_cm.c | 972 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 D | rds.h | 103 struct rds_connection *cp_conn; member
|
H A D | ib_recv.c | 1044 struct rds_connection *conn = cp->cp_conn; in rds_ib_recv_path()
|
H A D | ib_send.c | 1011 struct rds_connection *conn = cp->cp_conn; in rds_ib_xmit_path_complete()
|