Lines Matching refs:iu
290 msg = srv_mr->iu->buf; in rdma_write_sg()
295 list.addr = srv_mr->iu->dma_addr; in rdma_write_sg()
302 srv_mr->iu->dma_addr, in rdma_write_sg()
303 srv_mr->iu->size, DMA_TO_DEVICE); in rdma_write_sg()
411 msg = srv_mr->iu->buf; in send_io_resp_imm()
416 list.addr = srv_mr->iu->dma_addr; in send_io_resp_imm()
423 srv_mr->iu->dma_addr, in send_io_resp_imm()
424 srv_mr->iu->size, DMA_TO_DEVICE); in send_io_resp_imm()
551 rtrs_iu_free(srv_mr->iu, srv_path->s.dev->ib_dev, 1); in unmap_cont_bufs()
631 srv_mr->iu = rtrs_iu_alloc(1, in map_cont_bufs()
635 if (!srv_mr->iu) { in map_cont_bufs()
654 rtrs_iu_free(srv_mr->iu, srv_path->s.dev->ib_dev, 1); in map_cont_bufs()
703 struct rtrs_iu *iu; in rtrs_srv_info_rsp_done() local
705 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_srv_info_rsp_done()
706 rtrs_iu_free(iu, srv_path->s.dev->ib_dev, 1); in rtrs_srv_info_rsp_done()
893 struct rtrs_iu *iu; in rtrs_srv_info_req_done() local
898 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_srv_info_req_done()
911 ib_dma_sync_single_for_cpu(srv_path->s.dev->ib_dev, iu->dma_addr, in rtrs_srv_info_req_done()
912 iu->size, DMA_FROM_DEVICE); in rtrs_srv_info_req_done()
913 msg = iu->buf; in rtrs_srv_info_req_done()
924 rtrs_iu_free(iu, srv_path->s.dev->ib_dev, 1); in rtrs_srv_info_req_done()