Lines Matching refs:iommu_domain
78 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_iommu_map_pages()
175 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_assign_device()
216 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_deassign_device()
246 kvm->arch.iommu_domain = iommu_domain_alloc(&pci_bus_type); in kvm_iommu_map_guest()
247 if (!kvm->arch.iommu_domain) { in kvm_iommu_map_guest()
258 iommu_domain_free(kvm->arch.iommu_domain); in kvm_iommu_map_guest()
259 kvm->arch.iommu_domain = NULL; in kvm_iommu_map_guest()
276 struct iommu_domain *domain; in kvm_iommu_put_pages()
281 domain = kvm->arch.iommu_domain; in kvm_iommu_put_pages()
343 struct iommu_domain *domain = kvm->arch.iommu_domain; in kvm_iommu_unmap_guest()
351 kvm->arch.iommu_domain = NULL; in kvm_iommu_unmap_guest()