Lines Matching refs:resize_buf
336 cq->ibcq.cqe < cq->resize_buf->cqe) { in mthca_cq_resize_copy_cqes()
343 memcpy(get_cqe_from_buf(&cq->resize_buf->buf, in mthca_cq_resize_copy_cqes()
344 i & cq->resize_buf->cqe), in mthca_cq_resize_copy_cqes()
688 if (unlikely(err == -EAGAIN && cq->resize_buf && in mthca_poll_cq()
689 cq->resize_buf->state == CQ_RESIZE_READY)) { in mthca_poll_cq()
700 if (cqe_sw(get_cqe_from_buf(&cq->resize_buf->buf, in mthca_poll_cq()
701 cq->cons_index & cq->resize_buf->cqe))) { in mthca_poll_cq()
707 cq->buf = cq->resize_buf->buf; in mthca_poll_cq()
708 cq->ibcq.cqe = cq->resize_buf->cqe; in mthca_poll_cq()
710 cq->resize_buf->buf = tbuf; in mthca_poll_cq()
711 cq->resize_buf->cqe = tcqe; in mthca_poll_cq()
712 cq->resize_buf->state = CQ_RESIZE_SWAPPED; in mthca_poll_cq()