• Home
  • Raw
  • Download

Lines Matching refs:ureq

265 	struct qedr_alloc_ucontext_req ureq = {};  in qedr_alloc_ucontext()  local
274 rc = ib_copy_from_udata(&ureq, udata, in qedr_alloc_ucontext()
275 min(sizeof(ureq), udata->inlen)); in qedr_alloc_ucontext()
280 ctx->edpm_mode = !!(ureq.context_flags & in qedr_alloc_ucontext()
282 ctx->db_rec = !!(ureq.context_flags & QEDR_ALLOC_UCTX_DB_REC); in qedr_alloc_ucontext()
325 if (ureq.context_flags & QEDR_SUPPORT_DPM_SIZES) { in qedr_alloc_ucontext()
916 struct qedr_create_cq_ureq ureq = {}; in qedr_create_cq() local
946 if (ib_copy_from_udata(&ureq, udata, min(sizeof(ureq), in qedr_create_cq()
953 if (!ureq.len) { in qedr_create_cq()
961 rc = qedr_init_user_queue(udata, dev, &cq->q, ureq.addr, in qedr_create_cq()
962 ureq.len, true, IB_ACCESS_LOCAL_WRITE, in qedr_create_cq()
1458 struct qedr_create_srq_ureq *ureq, in qedr_init_srq_user_params() argument
1464 rc = qedr_init_user_queue(udata, srq->dev, &srq->usrq, ureq->srq_addr, in qedr_init_srq_user_params()
1465 ureq->srq_len, false, access, 1); in qedr_init_srq_user_params()
1469 srq->prod_umem = ib_umem_get(srq->ibsrq.device, ureq->prod_pair_addr, in qedr_init_srq_user_params()
1539 struct qedr_create_srq_ureq ureq = {}; in qedr_create_srq() local
1563 if (ib_copy_from_udata(&ureq, udata, min(sizeof(ureq), in qedr_create_srq()
1570 rc = qedr_init_srq_user_params(udata, srq, &ureq, 0); in qedr_create_srq()
1834 struct qedr_create_qp_ureq ureq = {}; in qedr_create_user_qp() local
1848 rc = ib_copy_from_udata(&ureq, udata, min(sizeof(ureq), in qedr_create_user_qp()
1858 rc = qedr_init_user_queue(udata, dev, &qp->usq, ureq.sq_addr, in qedr_create_user_qp()
1859 ureq.sq_len, true, 0, alloc_and_init); in qedr_create_user_qp()
1866 rc = qedr_init_user_queue(udata, dev, &qp->urq, ureq.rq_addr, in qedr_create_user_qp()
1867 ureq.rq_len, true, 0, alloc_and_init); in qedr_create_user_qp()
1874 in_params.qp_handle_lo = ureq.qp_handle_lo; in qedr_create_user_qp()
1875 in_params.qp_handle_hi = ureq.qp_handle_hi; in qedr_create_user_qp()