Searched refs:iommu_pgsize (Results 1 – 2 of 2) sorted by relevance
/drivers/vfio/ |
D | vfio_iommu_type1.c | 2868 size_t iommu_pgsize; in vfio_iommu_type1_dirty_pages() local 2891 iommu_pgsize = (size_t)1 << __ffs(iommu->pgsize_bitmap); in vfio_iommu_type1_dirty_pages() 2894 if (range.bitmap.pgsize != iommu_pgsize) { in vfio_iommu_type1_dirty_pages() 2898 if (range.iova & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages() 2902 if (!range.size || range.size & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages()
|
/drivers/iommu/ |
D | iommu.c | 2360 static size_t iommu_pgsize(struct iommu_domain *domain, unsigned long iova, in iommu_pgsize() function 2423 pgsize = iommu_pgsize(domain, iova, paddr, size, &count); in __iommu_map_pages() 2534 pgsize = iommu_pgsize(domain, iova, iova, size, &count); in __iommu_unmap_pages()
|