Home
last modified time | relevance | path

Searched refs:cqs (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c20 struct hw_cq *cqs[EFCT_HW_MAX_NUM_EQ]; in efct_hw_init_queues() local
73 if (efct_hw_new_cq_set(eqs, cqs, i, hw->num_qentries[SLI4_QTYPE_CQ])) { in efct_hw_init_queues()
79 if (efct_hw_new_rq_set(cqs, rqs, i, EFCT_HW_RQ_ENTRIES_DEF)) { in efct_hw_init_queues()
192 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[], in efct_hw_new_cq_set() argument
204 cqs[i] = NULL; in efct_hw_new_cq_set()
211 cqs[i] = cq; in efct_hw_new_cq_set()
228 hw->hw_cq[cqs[i]->instance] = cqs[i]; in efct_hw_new_cq_set()
229 INIT_LIST_HEAD(&cqs[i]->list_entry); in efct_hw_new_cq_set()
230 list_add_tail(&cqs[i]->list_entry, &cqs[i]->eq->cq_list); in efct_hw_new_cq_set()
237 kfree(cqs[i]); in efct_hw_new_cq_set()
[all …]
H A Defct_hw.h740 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[],
746 efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[],
/linux/drivers/infiniband/hw/cxgb4/
H A Dev.c227 xa_lock_irqsave(&dev->cqs, flag); in c4iw_ev_handler()
228 chp = xa_load(&dev->cqs, qid); in c4iw_ev_handler()
231 xa_unlock_irqrestore(&dev->cqs, flag); in c4iw_ev_handler()
239 xa_unlock_irqrestore(&dev->cqs, flag); in c4iw_ev_handler()
H A Dcq.c984 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in c4iw_destroy_cq()
1092 ret = xa_insert_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL); in c4iw_create_cq()
1154 xa_erase_irq(&rhp->cqs, chp->cq.cqid); in c4iw_create_cq()
H A Ddevice.c937 WARN_ON(!xa_empty(&ctx->dev->cqs)); in c4iw_dealloc()
1047 xa_init_flags(&devp->cqs, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
/linux/drivers/nvme/target/
H A Dcore.c834 ctrl->cqs[qid] = cq; in nvmet_cq_setup()
842 ctrl->cqs[cq->qid] = NULL; in nvmet_cq_destroy()
867 if (!ctrl->cqs) in nvmet_check_cqid()
873 if ((create && ctrl->cqs[cqid]) || (!create && !ctrl->cqs[cqid])) in nvmet_check_cqid()
1651 ctrl->cqs = kzalloc_objs(struct nvmet_cq *, subsys->max_qid + 1); in nvmet_alloc_ctrl()
1652 if (!ctrl->cqs) in nvmet_alloc_ctrl()
1720 kfree(ctrl->cqs); in nvmet_alloc_ctrl()
1757 kfree(ctrl->cqs); in nvmet_ctrl_free()
H A Dadmin-cmd.c98 if (!ctrl->cqs[cqid] || nvmet_cq_in_use(ctrl->cqs[cqid])) { in nvmet_execute_delete_cq()
H A Dnvmet.h254 struct nvmet_cq **cqs; member