Lines Matching refs:uresp
693 struct erdma_uresp_create_qp uresp; in erdma_create_qp() local
736 memset(&uresp, 0, sizeof(uresp)); in erdma_create_qp()
738 uresp.num_sqe = qp->attrs.sq_size; in erdma_create_qp()
739 uresp.num_rqe = qp->attrs.rq_size; in erdma_create_qp()
740 uresp.qp_id = QP_ID(qp); in erdma_create_qp()
741 uresp.rq_offset = qp->user_qp.rq_offset; in erdma_create_qp()
743 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in erdma_create_qp()
1202 struct erdma_uresp_alloc_ctx uresp = {}; in erdma_alloc_ucontext() local
1217 if (udata->outlen < sizeof(uresp)) { in erdma_alloc_ucontext()
1223 ctx, (void *)ctx->sdb, PAGE_SIZE, ERDMA_MMAP_IO_NC, &uresp.sdb); in erdma_alloc_ucontext()
1230 ctx, (void *)ctx->rdb, PAGE_SIZE, ERDMA_MMAP_IO_NC, &uresp.rdb); in erdma_alloc_ucontext()
1237 ctx, (void *)ctx->cdb, PAGE_SIZE, ERDMA_MMAP_IO_NC, &uresp.cdb); in erdma_alloc_ucontext()
1243 uresp.dev_id = dev->pdev->device; in erdma_alloc_ucontext()
1244 uresp.sdb_type = ctx->sdb_type; in erdma_alloc_ucontext()
1245 uresp.sdb_offset = ctx->sdb_page_off; in erdma_alloc_ucontext()
1247 ret = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in erdma_alloc_ucontext()
1416 struct erdma_uresp_create_cq uresp; in erdma_create_cq() local
1427 uresp.cq_id = cq->cqn; in erdma_create_cq()
1428 uresp.num_cqe = depth; in erdma_create_cq()
1430 ret = ib_copy_to_udata(udata, &uresp, in erdma_create_cq()
1431 min(sizeof(uresp), udata->outlen)); in erdma_create_cq()