Lines Matching refs:ibcq
601 static int mthca_create_cq(struct ib_cq *ibcq, in mthca_create_cq() argument
605 struct ib_device *ibdev = ibcq->device; in mthca_create_cq()
637 cq = to_mcq(ibcq); in mthca_create_cq()
722 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mthca_resize_cq() argument
724 struct mthca_dev *dev = to_mdev(ibcq->device); in mthca_resize_cq()
725 struct mthca_cq *cq = to_mcq(ibcq); in mthca_resize_cq()
736 if (entries == ibcq->cqe + 1) { in mthca_resize_cq()
776 tcqe = cq->ibcq.cqe; in mthca_resize_cq()
778 cq->ibcq.cqe = cq->resize_buf->cqe; in mthca_resize_cq()
790 ibcq->cqe = entries - 1; in mthca_resize_cq()
1116 INIT_RDMA_OBJ_SIZE(ib_cq, mthca_cq, ibcq),