Searched refs:kwq (Results 1 – 6 of 6) sorted by relevance
167 spin_lock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()177 okwq = srq->rq.kwq; in rvt_modify_srq()195 p = tmp_rq.kwq->curr_wq; in rvt_modify_srq()210 srq->rq.kwq = tmp_rq.kwq; in rvt_modify_srq()216 tmp_rq.kwq->head = n; in rvt_modify_srq()217 tmp_rq.kwq->tail = 0; in rvt_modify_srq()222 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()256 spin_lock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()261 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()266 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()[all …]
791 rq->kwq = kzalloc_node(sizeof(*rq->kwq), GFP_KERNEL, node); in rvt_alloc_rq()792 if (!rq->kwq) in rvt_alloc_rq()794 rq->kwq->curr_wq = rq->wq->wq; in rvt_alloc_rq()797 rq->kwq = in rvt_alloc_rq()799 if (!rq->kwq) in rvt_alloc_rq()801 rq->kwq->curr_wq = rq->kwq->wq; in rvt_alloc_rq()804 spin_lock_init(&rq->kwq->p_lock); in rvt_alloc_rq()805 spin_lock_init(&rq->kwq->c_lock); in rvt_alloc_rq()1326 if (qp->r_rq.kwq) { in rvt_error_qp()1330 struct rvt_krwq *kwq = NULL; in rvt_error_qp() local[all …]
68 credits = READ_ONCE(qp->r_rq.kwq->count); in rvt_compute_aeth()75 head = READ_ONCE(qp->r_rq.kwq->head); in rvt_compute_aeth()76 tail = READ_ONCE(qp->r_rq.kwq->tail); in rvt_compute_aeth()
259 struct rvt_krwq *kwq; member547 ((char *)rq->kwq->curr_wq + in rvt_get_rwqe_ptr()954 kvfree(rq->kwq); in rvt_free_rq()955 rq->kwq = NULL; in rvt_free_rq()
240 struct kwqe **kwq; member
1163 cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; in cnic_alloc_bnx2_resc()1362 prod_qe = &cp->kwq[KWQ_PG(sw_prod)][KWQ_IDX(sw_prod)]; in cnic_submit_bnx2_kwqes()1393 struct kwqe_16 *kwq[1]; in cnic_submit_kwqe_16() local1410 kwq[0] = (struct kwqe_16 *) &kwqe; in cnic_submit_kwqe_16()1413 ret = cp->ethdev->drv_submit_kwqes_16(dev->netdev, kwq, 1); in cnic_submit_kwqe_16()