Lines Matching defs:iwcq
765 struct irdma_cq *iwcq = to_iwcq(ibcq);
767 refcount_inc(&iwcq->refcnt);
774 struct irdma_cq *iwcq = to_iwcq(ibcq);
778 if (!refcount_dec_and_test(&iwcq->refcnt)) {
783 iwdev->rf->cq_table[iwcq->cq_num] = NULL;
785 complete(&iwcq->free_cq);
2380 bool irdma_cq_empty(struct irdma_cq *iwcq)
2387 ukcq = &iwcq->sc_cq.cq_uk;
2395 void irdma_remove_cmpls_list(struct irdma_cq *iwcq)
2400 list_for_each_safe (list_node, tmp_node, &iwcq->cmpl_generated) {
2407 int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info)
2411 if (list_empty(&iwcq->cmpl_generated))
2413 cmpl = list_first_entry_or_null(&iwcq->cmpl_generated, struct irdma_cmpl_gen, list);
2418 ibdev_dbg(iwcq->ibcq.device,