Lines Matching refs:xlt
480 static void mlx5r_umr_free_xlt(void *xlt, size_t length) in mlx5r_umr_free_xlt() argument
482 if (xlt == xlt_emergency_page) { in mlx5r_umr_free_xlt()
487 free_pages((unsigned long)xlt, get_order(length)); in mlx5r_umr_free_xlt()
490 static void mlx5r_umr_unmap_free_xlt(struct mlx5_ib_dev *dev, void *xlt, in mlx5r_umr_unmap_free_xlt() argument
496 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_unmap_free_xlt()
508 void *xlt; in mlx5r_umr_create_xlt() local
510 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt()
514 dma = dma_map_single(ddev, xlt, sg->length, DMA_TO_DEVICE); in mlx5r_umr_create_xlt()
517 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_create_xlt()
523 return xlt; in mlx5r_umr_create_xlt()
706 void *xlt; in mlx5r_umr_update_xlt() local
724 xlt = mlx5r_umr_create_xlt(dev, &sg, npages, desc_size, flags); in mlx5r_umr_update_xlt()
725 if (!xlt) in mlx5r_umr_update_xlt()
749 mlx5_odp_populate_xlt(xlt, idx, npages, mr, flags); in mlx5r_umr_update_xlt()
760 mlx5r_umr_unmap_free_xlt(dev, xlt, &sg); in mlx5r_umr_update_xlt()