Lines Matching refs:resize_buf
341 cq->ibcq.cqe < cq->resize_buf->cqe) { in mthca_cq_resize_copy_cqes()
348 memcpy(get_cqe_from_buf(&cq->resize_buf->buf, in mthca_cq_resize_copy_cqes()
349 i & cq->resize_buf->cqe), in mthca_cq_resize_copy_cqes()
693 if (unlikely(err == -EAGAIN && cq->resize_buf && in mthca_poll_cq()
694 cq->resize_buf->state == CQ_RESIZE_READY)) { in mthca_poll_cq()
705 if (cqe_sw(get_cqe_from_buf(&cq->resize_buf->buf, in mthca_poll_cq()
706 cq->cons_index & cq->resize_buf->cqe))) { in mthca_poll_cq()
712 cq->buf = cq->resize_buf->buf; in mthca_poll_cq()
713 cq->ibcq.cqe = cq->resize_buf->cqe; in mthca_poll_cq()
715 cq->resize_buf->buf = tbuf; in mthca_poll_cq()
716 cq->resize_buf->cqe = tcqe; in mthca_poll_cq()
717 cq->resize_buf->state = CQ_RESIZE_SWAPPED; in mthca_poll_cq()