Home
last modified time | relevance | path

Searched refs:swq (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c522 kfree(srq->swq); in bnxt_qplib_destroy_srq()
544 srq->swq = kcalloc(srq->hwq.max_elements, sizeof(*srq->swq), in bnxt_qplib_create_srq()
546 if (!srq->swq) { in bnxt_qplib_create_srq()
588 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq()
589 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq()
600 kfree(srq->swq); in bnxt_qplib_create_srq()
672 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv()
691 srq->swq[next].wr_id = wqe->wr_id; in bnxt_qplib_post_srq_recv()
744 sq->swq = kcalloc(sq->hwq.max_elements, sizeof(*sq->swq), GFP_KERNEL); in bnxt_qplib_create_qp1()
745 if (!sq->swq) { in bnxt_qplib_create_qp1()
[all …]
Dqplib_fp.h54 struct bnxt_qplib_swq *swq; member
238 struct bnxt_qplib_swq *swq; member
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dtx.c310 mtxq_last = list_last_entry(&hwq->swq, struct mt76_txq, list); in mt76_txq_schedule_list()
311 while (!list_empty(&hwq->swq)) { in mt76_txq_schedule_list()
319 mtxq = list_first_entry(&hwq->swq, struct mt76_txq, list); in mt76_txq_schedule_list()
338 list_add_tail(&mtxq->list, &hwq->swq); in mt76_txq_schedule_list()
358 if (hwq->swq_queued >= 4 || list_empty(&hwq->swq)) in mt76_txq_schedule()
407 list_add_tail(&mtxq->list, &hwq->swq); in mt76_wake_tx_queue()
Dmt76.h100 struct list_head swq; member
Ddma.c30 INIT_LIST_HEAD(&q->swq); in mt76_dma_alloc_queue()
Dusb.c717 INIT_LIST_HEAD(&q->swq); in mt76u_alloc_tx()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c772 struct rvt_swqe *swq = NULL; in rvt_create_qp() local
817 swq = vzalloc_node(array_size(sz, sqsize), rdi->dparms.node); in rvt_create_qp()
818 if (!swq) in rvt_create_qp()
899 qp->s_wq = swq; in rvt_create_qp()
1034 vfree(swq); in rvt_create_qp()