swq 526 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(srq->swq); swq 550 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq = kcalloc(srq->hwq.max_elements, sizeof(*srq->swq), swq 552 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!srq->swq) { swq 594 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[idx].next_idx = idx + 1; swq 595 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; swq 606 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(srq->swq); swq 678 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->start_idx = srq->swq[next].next_idx; swq 697 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[next].wr_id = wqe->wr_id; swq 750 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq = kcalloc(sq->hwq.max_elements, sizeof(*sq->swq), GFP_KERNEL); swq 751 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!sq->swq) { swq 789 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq = kcalloc(rq->hwq.max_elements, sizeof(*rq->swq), swq 791 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!rq->swq) { swq 852 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(rq->swq); swq 855 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(sq->swq); swq 899 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq = kcalloc(sq->hwq.max_elements, sizeof(*sq->swq), GFP_KERNEL); swq 900 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!sq->swq) { swq 920 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq[i].psn_search = swq 924 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq[i].psn_ext = swq 968 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq = kcalloc(rq->hwq.max_elements, sizeof(*rq->swq), swq 970 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (!rq->swq) { swq 1085 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(rq->swq); swq 1088 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(sq->swq); swq 1444 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(qp->sq.swq); swq 1447 drivers/infiniband/hw/bnxt_re/qplib_fp.c kfree(qp->rq.swq); swq 1525 drivers/infiniband/hw/bnxt_re/qplib_fp.c struct bnxt_qplib_swq *swq; swq 1554 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq = &sq->swq[sw_prod]; swq 1555 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->wr_id = wqe->wr_id; swq 1556 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->type = wqe->type; swq 1557 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->flags = wqe->flags; swq 1559 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->flags |= SQ_SEND_FLAGS_SIGNAL_COMP; swq 1560 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->start_psn = sq->psn & BTH_PSN_MASK; swq 1752 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->next_psn = sq->psn & BTH_PSN_MASK; swq 1753 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (swq->psn_search) { swq 1757 drivers/infiniband/hw/bnxt_re/qplib_fp.c opcd_spsn = ((swq->start_psn << SQ_PSN_SEARCH_START_PSN_SFT) & swq 1761 drivers/infiniband/hw/bnxt_re/qplib_fp.c flg_npsn = ((swq->next_psn << SQ_PSN_SEARCH_NEXT_PSN_SFT) & swq 1764 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->psn_ext->opcode_start_psn = swq 1766 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->psn_ext->flags_next_psn = swq 1769 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->psn_search->opcode_start_psn = swq 1771 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->psn_search->flags_next_psn = swq 1779 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq = &sq->swq[sw_prod]; swq 1780 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->wr_id = wqe->wr_id; swq 1781 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->type = wqe->type; swq 1782 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->flags = wqe->flags; swq 1784 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->flags |= SQ_SEND_FLAGS_SIGNAL_COMP; swq 1785 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->start_psn = sq->psn & BTH_PSN_MASK; swq 1846 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq[sw_prod].wr_id = wqe->wr_id; swq 1877 drivers/infiniband/hw/bnxt_re/qplib_fp.c rq->swq[sw_prod].wr_id = wqe->wr_id; swq 2031 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (sq->swq[sw_cons].wr_id == BNXT_QPLIB_FENCE_WRID) { swq 2039 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = sq->swq[sw_cons].wr_id; swq 2041 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->type = sq->swq[sw_cons].type; swq 2088 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = rq->swq[sw_cons].wr_id; swq 2120 drivers/infiniband/hw/bnxt_re/qplib_fp.c struct bnxt_qplib_swq *swq; swq 2130 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq = &sq->swq[sw_sq_cons]; swq 2131 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (swq->psn_search && swq 2132 drivers/infiniband/hw/bnxt_re/qplib_fp.c le32_to_cpu(swq->psn_search->flags_next_psn) & 0x80000000) { swq 2134 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq->psn_search->flags_next_psn = cpu_to_le32 swq 2135 drivers/infiniband/hw/bnxt_re/qplib_fp.c (le32_to_cpu(swq->psn_search->flags_next_psn) swq 2183 drivers/infiniband/hw/bnxt_re/qplib_fp.c sq->swq[peek_sq_cons_idx].wr_id == swq 2224 drivers/infiniband/hw/bnxt_re/qplib_fp.c struct bnxt_qplib_swq *swq; swq 2260 drivers/infiniband/hw/bnxt_re/qplib_fp.c swq = &sq->swq[sw_sq_cons]; swq 2265 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = swq->wr_id; swq 2268 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->type = swq->type; swq 2292 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (swq->flags & SQ_SEND_FLAGS_SIGNAL_COMP) { swq 2322 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = (int)tag; swq 2324 drivers/infiniband/hw/bnxt_re/qplib_fp.c srq->swq[srq->last_idx].next_idx = -1; swq 2374 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = srq->swq[wr_id_idx].wr_id; swq 2387 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = rq->swq[wr_id_idx].wr_id; swq 2455 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = srq->swq[wr_id_idx].wr_id; swq 2469 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = rq->swq[wr_id_idx].wr_id; swq 2559 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = srq->swq[wr_id_idx].wr_id; swq 2572 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = rq->swq[wr_id_idx].wr_id; swq 2646 drivers/infiniband/hw/bnxt_re/qplib_fp.c if (sq->swq[sw_cons].flags & SQ_SEND_FLAGS_SIGNAL_COMP) { swq 2652 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->wr_id = sq->swq[sw_cons].wr_id; swq 2653 drivers/infiniband/hw/bnxt_re/qplib_fp.c cqe->type = sq->swq[sw_cons].type; swq 54 drivers/infiniband/hw/bnxt_re/qplib_fp.h struct bnxt_qplib_swq *swq; swq 238 drivers/infiniband/hw/bnxt_re/qplib_fp.h struct bnxt_qplib_swq *swq; swq 1070 drivers/infiniband/sw/rdmavt/qp.c struct rvt_swqe *swq = NULL; swq 1112 drivers/infiniband/sw/rdmavt/qp.c sz = struct_size(swq, sg_list, init_attr->cap.max_send_sge); swq 1113 drivers/infiniband/sw/rdmavt/qp.c swq = vzalloc_node(array_size(sz, sqsize), rdi->dparms.node); swq 1114 drivers/infiniband/sw/rdmavt/qp.c if (!swq) swq 1190 drivers/infiniband/sw/rdmavt/qp.c qp->s_wq = swq; swq 1314 drivers/infiniband/sw/rdmavt/qp.c vfree(swq); swq 134 drivers/net/wireless/mediatek/mt76/mt76.h struct list_head swq; swq 217 drivers/net/wireless/mediatek/mt76/mt76.h struct mt76_sw_queue *swq; swq 22 drivers/net/wireless/mediatek/mt76/mt7603/dma.c INIT_LIST_HEAD(&q->swq); swq 31 drivers/net/wireless/mediatek/mt76/mt7615/dma.c INIT_LIST_HEAD(&q->swq); swq 53 drivers/net/wireless/mediatek/mt76/mt7615/dma.c INIT_LIST_HEAD(&q->swq); swq 114 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c INIT_LIST_HEAD(&q->swq); swq 579 drivers/net/wireless/mediatek/mt76/tx.c hwq = mtxq->swq->q; swq 620 drivers/net/wireless/mediatek/mt76/tx.c mtxq->swq = &dev->q_tx[mt76_txq_get_qid(txq)]; swq 830 drivers/net/wireless/mediatek/mt76/usb.c INIT_LIST_HEAD(&dev->q_tx[i].swq);