• Home
  • Raw
  • Download

Lines Matching refs:conn

54 	struct rds_connection *conn = cm_id->context;  in rds_rdma_cm_event_handler_cmn()  local
60 rdsdebug("conn %p id %p handling event %u (%s)\n", conn, cm_id, in rds_rdma_cm_event_handler_cmn()
68 if (conn) { in rds_rdma_cm_event_handler_cmn()
69 mutex_lock(&conn->c_cm_lock); in rds_rdma_cm_event_handler_cmn()
74 if (rds_conn_state(conn) == RDS_CONN_DISCONNECTING) { in rds_rdma_cm_event_handler_cmn()
89 rdma_set_service_type(cm_id, conn->c_tos); in rds_rdma_cm_event_handler_cmn()
99 if (conn) { in rds_rdma_cm_event_handler_cmn()
102 ibic = conn->c_transport_data; in rds_rdma_cm_event_handler_cmn()
105 TOS_TO_SL(conn->c_tos); in rds_rdma_cm_event_handler_cmn()
108 rds_conn_drop(conn); in rds_rdma_cm_event_handler_cmn()
114 if (conn) in rds_rdma_cm_event_handler_cmn()
115 trans->cm_connect_complete(conn, event); in rds_rdma_cm_event_handler_cmn()
119 if (!conn) in rds_rdma_cm_event_handler_cmn()
126 &conn->c_laddr, &conn->c_faddr); in rds_rdma_cm_event_handler_cmn()
128 if (!conn->c_tos) in rds_rdma_cm_event_handler_cmn()
129 conn->c_proposed_version = RDS_PROTOCOL_COMPAT_VERSION; in rds_rdma_cm_event_handler_cmn()
131 rds_conn_drop(conn); in rds_rdma_cm_event_handler_cmn()
142 if (conn) in rds_rdma_cm_event_handler_cmn()
143 rds_conn_drop(conn); in rds_rdma_cm_event_handler_cmn()
147 if (!conn) in rds_rdma_cm_event_handler_cmn()
150 "%pI6c->%pI6c\n", &conn->c_laddr, in rds_rdma_cm_event_handler_cmn()
151 &conn->c_faddr); in rds_rdma_cm_event_handler_cmn()
152 rds_conn_drop(conn); in rds_rdma_cm_event_handler_cmn()
156 if (conn) { in rds_rdma_cm_event_handler_cmn()
158 &conn->c_laddr, &conn->c_faddr); in rds_rdma_cm_event_handler_cmn()
159 rds_conn_drop(conn); in rds_rdma_cm_event_handler_cmn()
171 if (conn) in rds_rdma_cm_event_handler_cmn()
172 mutex_unlock(&conn->c_cm_lock); in rds_rdma_cm_event_handler_cmn()