Home
last modified time | relevance | path

Searched refs:iommu_pgsize (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/vfio/
Dvfio_iommu_type1.c2968 size_t iommu_pgsize; in vfio_iommu_type1_dirty_pages() local
2991 iommu_pgsize = (size_t)1 << __ffs(iommu->pgsize_bitmap); in vfio_iommu_type1_dirty_pages()
2994 if (range.bitmap.pgsize != iommu_pgsize) { in vfio_iommu_type1_dirty_pages()
2998 if (range.iova & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages()
3002 if (!range.size || range.size & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages()
/linux-6.1.9/drivers/iommu/
Diommu.c2174 static size_t iommu_pgsize(struct iommu_domain *domain, unsigned long iova, in iommu_pgsize() function
2236 pgsize = iommu_pgsize(domain, iova, paddr, size, &count); in __iommu_map_pages()
2347 pgsize = iommu_pgsize(domain, iova, iova, size, &count); in __iommu_unmap_pages()