Lines Matching refs:mtt
114 &buf->mtt); in mlx4_ib_alloc_cq_buf()
118 err = mlx4_buf_write_mtt(dev->dev, &buf->mtt, &buf->buf, GFP_KERNEL); in mlx4_ib_alloc_cq_buf()
125 mlx4_mtt_cleanup(dev->dev, &buf->mtt); in mlx4_ib_alloc_cq_buf()
154 ilog2((*umem)->page_size), &buf->mtt); in mlx4_ib_get_cq_umem()
158 err = mlx4_ib_umem_write_mtt(dev, &buf->mtt, *umem); in mlx4_ib_get_cq_umem()
165 mlx4_mtt_cleanup(dev->dev, &buf->mtt); in mlx4_ib_get_cq_umem()
241 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, in mlx4_ib_create_cq()
266 mlx4_mtt_cleanup(dev->dev, &cq->buf.mtt); in mlx4_ib_create_cq()
372 struct mlx4_mtt mtt; in mlx4_ib_resize_cq() local
410 mtt = cq->buf.mtt; in mlx4_ib_resize_cq()
412 err = mlx4_cq_resize(dev->dev, &cq->mcq, entries, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
416 mlx4_mtt_cleanup(dev->dev, &mtt); in mlx4_ib_resize_cq()
450 mlx4_mtt_cleanup(dev->dev, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
472 mlx4_mtt_cleanup(dev->dev, &mcq->buf.mtt); in mlx4_ib_destroy_cq()