Lines Matching refs:sc_cm_id
245 newxprt->sc_cm_id = new_cma_id; in handle_connect_req()
252 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.dst_addr; in handle_connect_req()
265 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in handle_connect_req()
310 cma_xprt->sc_cm_id = listen_id; in svc_rdma_listen_handler()
374 cma_xprt->sc_cm_id = listen_id; in svc_rdma_create()
380 sa = (struct sockaddr *)&cma_xprt->sc_cm_id->route.addr.src_addr; in svc_rdma_create()
390 struct rdma_cm_id *id = rdma->sc_cm_id; in svc_rdma_xprt_done()
434 dev = newxprt->sc_cm_id->device; in svc_rdma_accept()
435 newxprt->sc_port_num = newxprt->sc_cm_id->port_num; in svc_rdma_accept()
509 ret = rdma_create_qp(newxprt->sc_cm_id, newxprt->sc_pd, &qp_attr); in svc_rdma_accept()
515 newxprt->sc_qp = newxprt->sc_cm_id->qp; in svc_rdma_accept()
548 rdma_lock_handler(newxprt->sc_cm_id); in svc_rdma_accept()
549 newxprt->sc_cm_id->event_handler = svc_rdma_cma_handler; in svc_rdma_accept()
550 ret = rdma_accept(newxprt->sc_cm_id, &conn_param); in svc_rdma_accept()
551 rdma_unlock_handler(newxprt->sc_cm_id); in svc_rdma_accept()
559 sap = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in svc_rdma_accept()
561 sap = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.dst_addr; in svc_rdma_accept()
577 rdma_destroy_id(newxprt->sc_cm_id); in svc_rdma_accept()
588 rdma_disconnect(rdma->sc_cm_id); in svc_rdma_detach()
595 struct ib_device *device = rdma->sc_cm_id->device; in __svc_rdma_free()
622 rdma_destroy_id(rdma->sc_cm_id); in __svc_rdma_free()