Lines Matching refs:cq
957 ib_destroy_cq(dev->umrc.cq); in destroy_umrc_res()
971 struct ib_cq *cq; in create_umr_res() local
997 cq = ib_create_cq(&dev->ib_dev, mlx5_umr_cq_handler, NULL, NULL, 128, in create_umr_res()
999 if (IS_ERR(cq)) { in create_umr_res()
1001 ret = PTR_ERR(cq); in create_umr_res()
1004 ib_req_notify_cq(cq, IB_CQ_NEXT_COMP); in create_umr_res()
1006 init_attr->send_cq = cq; in create_umr_res()
1007 init_attr->recv_cq = cq; in create_umr_res()
1052 dev->umrc.cq = cq; in create_umr_res()
1072 ib_destroy_cq(cq); in create_umr_res()
1141 attr.ext.xrc.cq = devr->c0; in create_dev_resources()
1156 devr->s0->ext.xrc.cq = devr->c0; in create_dev_resources()
1158 atomic_inc(&devr->s0->ext.xrc.cq->usecnt); in create_dev_resources()