Lines Matching refs:mtt
112 &buf->mtt); in mlx4_ib_alloc_cq_buf()
116 err = mlx4_buf_write_mtt(dev->dev, &buf->mtt, &buf->buf, GFP_KERNEL); in mlx4_ib_alloc_cq_buf()
123 mlx4_mtt_cleanup(dev->dev, &buf->mtt); in mlx4_ib_alloc_cq_buf()
150 ilog2((*umem)->page_size), &buf->mtt); in mlx4_ib_get_cq_umem()
154 err = mlx4_ib_umem_write_mtt(dev, &buf->mtt, *umem); in mlx4_ib_get_cq_umem()
161 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()
376 struct mlx4_mtt mtt; in mlx4_ib_resize_cq() local
414 mtt = cq->buf.mtt; in mlx4_ib_resize_cq()
416 err = mlx4_cq_resize(dev->dev, &cq->mcq, entries, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
420 mlx4_mtt_cleanup(dev->dev, &mtt); in mlx4_ib_resize_cq()
454 mlx4_mtt_cleanup(dev->dev, &cq->resize_buf->buf.mtt); in mlx4_ib_resize_cq()
479 mlx4_mtt_cleanup(dev->dev, &mcq->buf.mtt); in mlx4_ib_destroy_cq()