Searched refs:mock_viommu (Results 1 – 2 of 2) sorted by relevance
134 struct mock_viommu *mock_viommu; member144 struct mock_viommu { struct154 static inline struct mock_viommu *to_mock_viommu(struct iommufd_viommu *viommu) in to_mock_viommu() argument156 return container_of(viommu, struct mock_viommu, core); in to_mock_viommu()161 struct mock_viommu *mock_viommu; member178 struct mock_viommu *viommu;216 struct mock_viommu *new_viommu = NULL; in mock_domain_nop_attach()225 new_viommu = to_mock_nested(domain)->mock_viommu; in mock_domain_nop_attach()632 struct mock_viommu *mock_viommu = to_mock_viommu(viommu); in mock_viommu_destroy() local636 if (mock_viommu->mmap_offset) in mock_viommu_destroy()[all …]
2832 FIXTURE_VARIANT_ADD(iommufd_viommu, mock_viommu) in FIXTURE_VARIANT_ADD() argument