kwq 830 drivers/infiniband/sw/rdmavt/qp.c rq->kwq = kzalloc_node(sizeof(*rq->kwq), GFP_KERNEL, node); kwq 831 drivers/infiniband/sw/rdmavt/qp.c if (!rq->kwq) kwq 833 drivers/infiniband/sw/rdmavt/qp.c rq->kwq->curr_wq = rq->wq->wq; kwq 836 drivers/infiniband/sw/rdmavt/qp.c rq->kwq = kwq 838 drivers/infiniband/sw/rdmavt/qp.c if (!rq->kwq) kwq 840 drivers/infiniband/sw/rdmavt/qp.c rq->kwq->curr_wq = rq->kwq->wq; kwq 843 drivers/infiniband/sw/rdmavt/qp.c spin_lock_init(&rq->kwq->p_lock); kwq 844 drivers/infiniband/sw/rdmavt/qp.c spin_lock_init(&rq->kwq->c_lock); kwq 901 drivers/infiniband/sw/rdmavt/qp.c if (qp->r_rq.kwq) kwq 902 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.kwq->count = qp->r_rq.size; kwq 1370 drivers/infiniband/sw/rdmavt/qp.c if (qp->r_rq.kwq) { kwq 1374 drivers/infiniband/sw/rdmavt/qp.c struct rvt_krwq *kwq = NULL; kwq 1376 drivers/infiniband/sw/rdmavt/qp.c spin_lock(&qp->r_rq.kwq->c_lock); kwq 1383 drivers/infiniband/sw/rdmavt/qp.c kwq = qp->r_rq.kwq; kwq 1384 drivers/infiniband/sw/rdmavt/qp.c head = kwq->head; kwq 1385 drivers/infiniband/sw/rdmavt/qp.c tail = kwq->tail; kwq 1401 drivers/infiniband/sw/rdmavt/qp.c kwq->tail = tail; kwq 1402 drivers/infiniband/sw/rdmavt/qp.c spin_unlock(&qp->r_rq.kwq->c_lock); kwq 1738 drivers/infiniband/sw/rdmavt/qp.c kvfree(qp->r_rq.kwq); kwq 1825 drivers/infiniband/sw/rdmavt/qp.c struct rvt_krwq *wq = qp->r_rq.kwq; kwq 1846 drivers/infiniband/sw/rdmavt/qp.c spin_lock_irqsave(&qp->r_rq.kwq->p_lock, flags); kwq 1851 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); kwq 1879 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&qp->r_rq.kwq->p_lock, flags); kwq 2260 drivers/infiniband/sw/rdmavt/qp.c spin_lock_irqsave(&srq->rq.kwq->p_lock, flags); kwq 2261 drivers/infiniband/sw/rdmavt/qp.c wq = srq->rq.kwq; kwq 2266 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&srq->rq.kwq->p_lock, flags); kwq 2281 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&srq->rq.kwq->p_lock, flags); kwq 2392 drivers/infiniband/sw/rdmavt/qp.c head = rq->kwq->head; kwq 2411 drivers/infiniband/sw/rdmavt/qp.c struct rvt_krwq *kwq = NULL; kwq 2433 drivers/infiniband/sw/rdmavt/qp.c spin_lock_irqsave(&rq->kwq->c_lock, flags); kwq 2438 drivers/infiniband/sw/rdmavt/qp.c kwq = rq->kwq; kwq 2443 drivers/infiniband/sw/rdmavt/qp.c tail = kwq->tail; kwq 2450 drivers/infiniband/sw/rdmavt/qp.c if (kwq->count < RVT_RWQ_COUNT_THRESHOLD) { kwq 2452 drivers/infiniband/sw/rdmavt/qp.c kwq->count = get_count(rq, tail, head); kwq 2454 drivers/infiniband/sw/rdmavt/qp.c if (unlikely(kwq->count == 0)) { kwq 2471 drivers/infiniband/sw/rdmavt/qp.c kwq->tail = tail; kwq 2478 drivers/infiniband/sw/rdmavt/qp.c kwq->count--; kwq 2486 drivers/infiniband/sw/rdmavt/qp.c if (kwq->count < srq->limit) { kwq 2487 drivers/infiniband/sw/rdmavt/qp.c kwq->count = get_count(rq, tail, get_rvt_head(rq, ip)); kwq 2488 drivers/infiniband/sw/rdmavt/qp.c if (kwq->count < srq->limit) { kwq 2492 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&rq->kwq->c_lock, flags); kwq 2502 drivers/infiniband/sw/rdmavt/qp.c spin_unlock_irqrestore(&rq->kwq->c_lock, flags); kwq 110 drivers/infiniband/sw/rdmavt/rc.c credits = READ_ONCE(qp->r_rq.kwq->count); kwq 117 drivers/infiniband/sw/rdmavt/rc.c head = READ_ONCE(qp->r_rq.kwq->head); kwq 118 drivers/infiniband/sw/rdmavt/rc.c tail = READ_ONCE(qp->r_rq.kwq->tail); kwq 209 drivers/infiniband/sw/rdmavt/srq.c spin_lock_irq(&srq->rq.kwq->c_lock); kwq 219 drivers/infiniband/sw/rdmavt/srq.c okwq = srq->rq.kwq; kwq 237 drivers/infiniband/sw/rdmavt/srq.c p = tmp_rq.kwq->curr_wq; kwq 252 drivers/infiniband/sw/rdmavt/srq.c srq->rq.kwq = tmp_rq.kwq; kwq 258 drivers/infiniband/sw/rdmavt/srq.c tmp_rq.kwq->head = n; kwq 259 drivers/infiniband/sw/rdmavt/srq.c tmp_rq.kwq->tail = 0; kwq 264 drivers/infiniband/sw/rdmavt/srq.c spin_unlock_irq(&srq->rq.kwq->c_lock); kwq 298 drivers/infiniband/sw/rdmavt/srq.c spin_lock_irq(&srq->rq.kwq->c_lock); kwq 303 drivers/infiniband/sw/rdmavt/srq.c spin_unlock_irq(&srq->rq.kwq->c_lock); kwq 308 drivers/infiniband/sw/rdmavt/srq.c spin_unlock_irq(&srq->rq.kwq->c_lock); kwq 345 drivers/infiniband/sw/rdmavt/srq.c kvfree(srq->rq.kwq); kwq 1165 drivers/net/ethernet/broadcom/cnic.c cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; kwq 1364 drivers/net/ethernet/broadcom/cnic.c prod_qe = &cp->kwq[KWQ_PG(sw_prod)][KWQ_IDX(sw_prod)]; kwq 1395 drivers/net/ethernet/broadcom/cnic.c struct kwqe_16 *kwq[1]; kwq 1412 drivers/net/ethernet/broadcom/cnic.c kwq[0] = (struct kwqe_16 *) &kwqe; kwq 1415 drivers/net/ethernet/broadcom/cnic.c ret = cp->ethdev->drv_submit_kwqes_16(dev->netdev, kwq, 1); kwq 240 drivers/net/ethernet/broadcom/cnic.h struct kwqe **kwq; kwq 274 include/rdma/rdmavt_qp.h struct rvt_krwq *kwq; kwq 543 include/rdma/rdmavt_qp.h ((char *)rq->kwq->curr_wq + kwq 970 include/rdma/rdmavt_qp.h kvfree(rq->kwq); kwq 971 include/rdma/rdmavt_qp.h rq->kwq = NULL;