Lines Matching refs:xlt
512 static void mlx5r_umr_free_xlt(void *xlt, size_t length) in mlx5r_umr_free_xlt() argument
514 if (xlt == xlt_emergency_page) { in mlx5r_umr_free_xlt()
519 free_pages((unsigned long)xlt, get_order(length)); in mlx5r_umr_free_xlt()
522 static void mlx5r_umr_unmap_free_xlt(struct mlx5_ib_dev *dev, void *xlt, in mlx5r_umr_unmap_free_xlt() argument
528 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_unmap_free_xlt()
540 void *xlt; in mlx5r_umr_create_xlt() local
542 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt()
546 dma = dma_map_single(ddev, xlt, sg->length, DMA_TO_DEVICE); in mlx5r_umr_create_xlt()
549 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_create_xlt()
555 return xlt; in mlx5r_umr_create_xlt()
771 void *xlt; in mlx5r_umr_update_xlt() local
789 xlt = mlx5r_umr_create_xlt(dev, &sg, npages, desc_size, flags); in mlx5r_umr_update_xlt()
790 if (!xlt) in mlx5r_umr_update_xlt()
814 mlx5_odp_populate_xlt(xlt, idx, npages, mr, flags); in mlx5r_umr_update_xlt()
825 mlx5r_umr_unmap_free_xlt(dev, xlt, &sg); in mlx5r_umr_update_xlt()