Lines Matching refs:cm_id
377 int rds_iw_cm_handle_connect(struct rdma_cm_id *cm_id, in rds_iw_cm_handle_connect() argument
438 BUG_ON(cm_id->context); in rds_iw_cm_handle_connect()
441 ic->i_cm_id = cm_id; in rds_iw_cm_handle_connect()
442 cm_id->context = conn; in rds_iw_cm_handle_connect()
444 rds_iwdev = ib_get_client_data(cm_id->device, &rds_iw_client); in rds_iw_cm_handle_connect()
461 err = rdma_accept(cm_id, &conn_param); in rds_iw_cm_handle_connect()
471 rdma_reject(cm_id, NULL, 0); in rds_iw_cm_handle_connect()
476 int rds_iw_cm_initiate_connect(struct rdma_cm_id *cm_id) in rds_iw_cm_initiate_connect() argument
478 struct rds_connection *conn = cm_id->context; in rds_iw_cm_initiate_connect()
497 ret = rdma_connect(cm_id, &conn_param); in rds_iw_cm_initiate_connect()
508 if (ic->i_cm_id == cm_id) in rds_iw_cm_initiate_connect()