Lines Matching refs:ri_id

100 	ib_drain_rq(ia->ri_id->qp);  in rpcrdma_xprt_drain()
105 ib_drain_sq(ia->ri_id->qp); in rpcrdma_xprt_drain()
247 ia->ri_id->device->name, in rpcrdma_cm_event_handler()
255 ia->ri_id = NULL; in rpcrdma_cm_event_handler()
290 ia->ri_id->device->name, rdma_event_msg(event->event)); in rpcrdma_cm_event_handler()
364 ia->ri_id = rpcrdma_create_id(xprt, ia); in rpcrdma_ia_open()
365 if (IS_ERR(ia->ri_id)) { in rpcrdma_ia_open()
366 rc = PTR_ERR(ia->ri_id); in rpcrdma_ia_open()
370 ia->ri_pd = ib_alloc_pd(ia->ri_id->device, 0); in rpcrdma_ia_open()
379 if (frwr_is_supported(ia->ri_id->device)) in rpcrdma_ia_open()
384 ia->ri_id->device->name, xprt_rdma_memreg_strategy); in rpcrdma_ia_open()
421 if (ia->ri_id->qp) { in rpcrdma_ia_remove()
423 rdma_destroy_qp(ia->ri_id); in rpcrdma_ia_remove()
424 ia->ri_id->qp = NULL; in rpcrdma_ia_remove()
458 if (ia->ri_id != NULL && !IS_ERR(ia->ri_id)) { in rpcrdma_ia_close()
459 if (ia->ri_id->qp) in rpcrdma_ia_close()
460 rdma_destroy_qp(ia->ri_id); in rpcrdma_ia_close()
461 rdma_destroy_id(ia->ri_id); in rpcrdma_ia_close()
463 ia->ri_id = NULL; in rpcrdma_ia_close()
490 max_sge = min_t(unsigned int, ia->ri_id->device->attrs.max_send_sge, in rpcrdma_ep_create()
525 sendcq = ib_alloc_cq_any(ia->ri_id->device, NULL, in rpcrdma_ep_create()
533 recvcq = ib_alloc_cq_any(ia->ri_id->device, NULL, in rpcrdma_ep_create()
559 min_t(int, U8_MAX, ia->ri_id->device->attrs.max_qp_rd_atom); in rpcrdma_ep_create()
592 if (ia->ri_id && ia->ri_id->qp) { in rpcrdma_ep_destroy()
594 rdma_destroy_qp(ia->ri_id); in rpcrdma_ep_destroy()
595 ia->ri_id->qp = NULL; in rpcrdma_ep_destroy()
628 err = rdma_create_qp(ia->ri_id, ia->ri_pd, qp_init_attr); in rpcrdma_ep_recreate_xprt()
671 if (ia->ri_id->device != id->device) { in rpcrdma_ep_reconnect()
682 old = ia->ri_id; in rpcrdma_ep_reconnect()
683 ia->ri_id = id; in rpcrdma_ep_reconnect()
709 rc = rdma_create_qp(ia->ri_id, ia->ri_pd, &qp_init_attr); in rpcrdma_ep_connect()
731 rc = rdma_connect(ia->ri_id, &ep->rep_remote_cma); in rpcrdma_ep_connect()
774 rc = rdma_disconnect(ia->ri_id); in rpcrdma_ep_disconnect()
1259 ib_dma_unmap_sg(r_xprt->rx_ia.ri_id->device, in rpcrdma_mr_put()
1388 struct ib_device *device = r_xprt->rx_ia.ri_id->device; in __rpcrdma_regbuf_dma_map()
1503 rc = ib_post_recv(r_xprt->rx_ia.ri_id->qp, wr, in rpcrdma_post_recvs()