Lines Matching refs:iu

472 	sge.addr   = req->iu->dma_addr;  in rtrs_post_send_rdma()
484 req->iu->dma_addr, in rtrs_post_send_rdma()
487 return rtrs_iu_post_rdma_write_imm(&con->c, req->iu, &sge, 1, in rtrs_post_send_rdma()
508 struct rtrs_iu *iu; in rtrs_clt_recv_done() local
513 iu = container_of(wc->wr_cqe, struct rtrs_iu, in rtrs_clt_recv_done()
515 err = rtrs_iu_post_recv(&con->c, iu); in rtrs_clt_recv_done()
528 struct rtrs_iu *iu; in rtrs_clt_rkey_rsp_done() local
534 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_clt_rkey_rsp_done()
541 ib_dma_sync_single_for_cpu(clt_path->s.dev->ib_dev, iu->dma_addr, in rtrs_clt_rkey_rsp_done()
542 iu->size, DMA_FROM_DEVICE); in rtrs_clt_rkey_rsp_done()
543 msg = iu->buf; in rtrs_clt_rkey_rsp_done()
567 ib_dma_sync_single_for_device(clt_path->s.dev->ib_dev, iu->dma_addr, in rtrs_clt_rkey_rsp_done()
568 iu->size, DMA_FROM_DEVICE); in rtrs_clt_rkey_rsp_done()
701 struct rtrs_iu *iu = &con->rsp_ius[i]; in post_recv_io() local
703 err = rtrs_iu_post_recv(&con->c, iu); in post_recv_io()
970 len = _copy_from_iter(req->iu->buf, usr_len, &iter); in rtrs_clt_init_req()
998 .iov_base = fail_req->iu->buf, in rtrs_clt_get_copy_req()
1041 sge[i].addr = req->iu->dma_addr; in rtrs_post_rdma_write_sg()
1053 req->iu->dma_addr, in rtrs_post_rdma_write_sg()
1056 return rtrs_iu_post_rdma_write_imm(&con->c, req->iu, sge, num_sge, in rtrs_post_rdma_write_sg()
1107 msg = req->iu->buf + req->usr_len; in rtrs_clt_write_req()
1203 msg = req->iu->buf + req->usr_len; in rtrs_clt_read_req()
1354 rtrs_iu_free(req->iu, clt_path->s.dev->ib_dev, 1); in free_path_reqs()
1373 req->iu = rtrs_iu_alloc(1, clt_path->max_hdr_size, GFP_KERNEL, in alloc_path_reqs()
1377 if (!req->iu) in alloc_path_reqs()
2394 struct rtrs_iu *iu; in rtrs_clt_info_req_done() local
2396 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_clt_info_req_done()
2397 rtrs_iu_free(iu, clt_path->s.dev->ib_dev, 1); in rtrs_clt_info_req_done()
2480 struct rtrs_iu *iu; in rtrs_clt_info_rsp_done() local
2487 iu = container_of(wc->wr_cqe, struct rtrs_iu, cqe); in rtrs_clt_info_rsp_done()
2500 ib_dma_sync_single_for_cpu(clt_path->s.dev->ib_dev, iu->dma_addr, in rtrs_clt_info_rsp_done()
2501 iu->size, DMA_FROM_DEVICE); in rtrs_clt_info_rsp_done()
2502 msg = iu->buf; in rtrs_clt_info_rsp_done()
2527 rtrs_iu_free(iu, clt_path->s.dev->ib_dev, 1); in rtrs_clt_info_rsp_done()