Lines Matching refs:ibcq
575 static int mthca_create_cq(struct ib_cq *ibcq, in mthca_create_cq() argument
580 struct ib_device *ibdev = ibcq->device; in mthca_create_cq()
612 cq = to_mcq(ibcq); in mthca_create_cq()
697 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mthca_resize_cq() argument
699 struct mthca_dev *dev = to_mdev(ibcq->device); in mthca_resize_cq()
700 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
711 if (entries == ibcq->cqe + 1) { in mthca_resize_cq()
751 tcqe = cq->ibcq.cqe; in mthca_resize_cq()
753 cq->ibcq.cqe = cq->resize_buf->cqe; in mthca_resize_cq()
765 ibcq->cqe = entries - 1; in mthca_resize_cq()
1097 INIT_RDMA_OBJ_SIZE(ib_cq, mthca_cq, ibcq),