Searched refs:iommu_pgsize (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 2942 size_t iommu_pgsize; in vfio_iommu_type1_dirty_pages() local 2965 iommu_pgsize = (size_t)1 << __ffs(iommu->pgsize_bitmap); in vfio_iommu_type1_dirty_pages() 2968 if (range.bitmap.pgsize != iommu_pgsize) { in vfio_iommu_type1_dirty_pages() 2972 if (range.iova & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages() 2976 if (!range.size || range.size & (iommu_pgsize - 1)) { in vfio_iommu_type1_dirty_pages()
|
/openbmc/linux/drivers/iommu/ |
H A D | iommu.c | 2367 static size_t iommu_pgsize(struct iommu_domain *domain, unsigned long iova, in iommu_pgsize() function 2429 pgsize = iommu_pgsize(domain, iova, paddr, size, &count); in __iommu_map_pages() 2533 pgsize = iommu_pgsize(domain, iova, iova, size, &count); in __iommu_unmap_pages()
|