r_rq 716 drivers/infiniband/hw/hfi1/qp.c srq ? srq->rq.size : qp->r_rq.size r_rq 901 drivers/infiniband/sw/rdmavt/qp.c if (qp->r_rq.kwq) r_rq 902 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.kwq->count = qp->r_rq.size; r_rq 1166 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.size = init_attr->cap.max_recv_wr + 1; r_rq 1167 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.max_sge = init_attr->cap.max_recv_sge; r_rq 1168 drivers/infiniband/sw/rdmavt/qp.c sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) + r_rq 1170 drivers/infiniband/sw/rdmavt/qp.c err = rvt_alloc_rq(&qp->r_rq, qp->r_rq.size * sz, r_rq 1233 drivers/infiniband/sw/rdmavt/qp.c if (!qp->r_rq.wq) { r_rq 1243 drivers/infiniband/sw/rdmavt/qp.c u32 s = sizeof(struct rvt_rwq) + qp->r_rq.size * sz; r_rq 1246 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.wq); r_rq 1303 drivers/infiniband/sw/rdmavt/qp.c rvt_free_rq(&qp->r_rq); r_rq 1370 drivers/infiniband/sw/rdmavt/qp.c if (qp->r_rq.kwq) { r_rq 1376 drivers/infiniband/sw/rdmavt/qp.c spin_lock(&qp->r_rq.kwq->c_lock); r_rq 1379 drivers/infiniband/sw/rdmavt/qp.c wq = qp->r_rq.wq; r_rq 1383 drivers/infiniband/sw/rdmavt/qp.c kwq = qp->r_rq.kwq; r_rq 1388 drivers/infiniband/sw/rdmavt/qp.c if (head >= qp->r_rq.size) r_rq 1390 drivers/infiniband/sw/rdmavt/qp.c if (tail >= qp->r_rq.size) r_rq 1393 drivers/infiniband/sw/rdmavt/qp.c wc.wr_id = rvt_get_rwqe_ptr(&qp->r_rq, tail)->wr_id; r_rq 1394 drivers/infiniband/sw/rdmavt/qp.c if (++tail >= qp->r_rq.size) r_rq 1402 drivers/infiniband/sw/rdmavt/qp.c spin_unlock(&qp->r_rq.kwq->c_lock); r_rq 1738 drivers/infiniband/sw/rdmavt/qp.c kvfree(qp->r_rq.kwq); r_rq 1775 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_recv_wr = qp->ibqp.srq ? 0 : qp->r_rq.size - 1; r_rq 1777 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_recv_sge = qp->r_rq.max_sge; r_rq 1825 drivers/infiniband/sw/rdmavt/qp.c struct rvt_krwq *wq = qp->r_rq.kwq; r_rq 1841 drivers/infiniband/sw/rdmavt/qp.c if ((unsigned)wr->num_sge > qp->r_rq.max_sge) { r_rq 1846 drivers/infiniband/sw/rdmavt/qp.c spin_lock_irqsave(&qp->r_rq.kwq->p_lock, flags); r_rq 1848 drivers/infiniband/sw/rdmavt/qp.c if (next >= qp->r_rq.size) r_rq 1851 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); r_rq 1865 drivers/infiniband/sw/rdmavt/qp.c wqe = rvt_get_rwqe_ptr(&qp->r_rq, wq->head); r_rq 1879 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); r_rq 2429 drivers/infiniband/sw/rdmavt/qp.c rq = &qp->r_rq; r_rq 110 drivers/infiniband/sw/rdmavt/rc.c credits = READ_ONCE(qp->r_rq.kwq->count); r_rq 114 drivers/infiniband/sw/rdmavt/rc.c head = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->head); r_rq 115 drivers/infiniband/sw/rdmavt/rc.c tail = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->tail); r_rq 117 drivers/infiniband/sw/rdmavt/rc.c head = READ_ONCE(qp->r_rq.kwq->head); r_rq 118 drivers/infiniband/sw/rdmavt/rc.c tail = READ_ONCE(qp->r_rq.kwq->tail); r_rq 120 drivers/infiniband/sw/rdmavt/rc.c if (head >= qp->r_rq.size) r_rq 122 drivers/infiniband/sw/rdmavt/rc.c if (tail >= qp->r_rq.size) r_rq 132 drivers/infiniband/sw/rdmavt/rc.c credits += qp->r_rq.size; r_rq 390 include/rdma/rdmavt_qp.h struct rvt_rq r_rq; /* receive work queue */