Lines Matching refs:mock_iommu_domain

123 struct mock_iommu_domain {  struct
131 struct mock_iommu_domain *parent; argument
196 struct mock_iommu_domain *mock = in mock_domain_set_dirty_tracking()
197 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_set_dirty_tracking()
213 static bool mock_test_and_clear_dirty(struct mock_iommu_domain *mock, in mock_test_and_clear_dirty()
246 struct mock_iommu_domain *mock = in mock_domain_read_and_clear_dirty()
247 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_read_and_clear_dirty()
285 struct mock_iommu_domain *mock; in mock_domain_alloc_paging()
302 __mock_domain_alloc_nested(struct mock_iommu_domain *mock_parent, in __mock_domain_alloc_nested()
324 struct mock_iommu_domain *mock_parent; in mock_domain_alloc_user()
344 container_of(domain, struct mock_iommu_domain, domain) in mock_domain_alloc_user()
355 mock_parent = container_of(parent, struct mock_iommu_domain, domain); in mock_domain_alloc_user()
369 struct mock_iommu_domain *mock = in mock_domain_free()
370 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_free()
381 struct mock_iommu_domain *mock = in mock_domain_map_pages()
382 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_map_pages()
433 struct mock_iommu_domain *mock = in mock_domain_unmap_pages()
434 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_unmap_pages()
482 struct mock_iommu_domain *mock = in mock_domain_iova_to_phys()
483 container_of(domain, struct mock_iommu_domain, domain); in mock_domain_iova_to_phys()
648 struct mock_iommu_domain **mock) in get_md_pagetable()
660 *mock = container_of(hwpt->domain, struct mock_iommu_domain, domain); in get_md_pagetable()
858 struct mock_iommu_domain *mock; in iommufd_test_md_check_pa()
1349 struct mock_iommu_domain *mock; in iommufd_test_dirty()