Lines Matching refs:mtt
109 &buf->mtt); in mlx4_ib_alloc_cq_buf()
113 err = mlx4_buf_write_mtt(dev->dev, &buf->mtt, &buf->buf); in mlx4_ib_alloc_cq_buf()
120 mlx4_mtt_cleanup(dev->dev, &buf->mtt); in mlx4_ib_alloc_cq_buf()
147 ilog2((*umem)->page_size), &buf->mtt); in mlx4_ib_get_cq_umem()
151 err = mlx4_ib_umem_write_mtt(dev, &buf->mtt, *umem); in mlx4_ib_get_cq_umem()
158 mlx4_mtt_cleanup(dev->dev, &buf->mtt); in mlx4_ib_get_cq_umem()
225 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, in mlx4_ib_create_cq()
246 mlx4_mtt_cleanup(dev->dev, &cq->buf.mtt); in mlx4_ib_create_cq()
349 struct mlx4_mtt mtt; in mlx4_ib_resize_cq() local
383 mtt = cq->buf.mtt; in mlx4_ib_resize_cq()
385 err = mlx4_cq_resize(dev->dev, &cq->mcq, entries, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
389 mlx4_mtt_cleanup(dev->dev, &mtt); in mlx4_ib_resize_cq()
423 mlx4_mtt_cleanup(dev->dev, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
447 mlx4_mtt_cleanup(dev->dev, &mcq->buf.mtt); in mlx4_ib_destroy_cq()