Lines Matching refs:domain_device
91 struct s390_domain_device *domain_device; in s390_iommu_attach_device() local
98 domain_device = kzalloc(sizeof(*domain_device), GFP_KERNEL); in s390_iommu_attach_device()
99 if (!domain_device) in s390_iommu_attach_device()
124 domain_device->zdev = zdev; in s390_iommu_attach_device()
126 list_add(&domain_device->list, &s390_domain->devices); in s390_iommu_attach_device()
133 kfree(domain_device); in s390_iommu_attach_device()
143 struct s390_domain_device *domain_device, *tmp; in s390_iommu_detach_device() local
151 list_for_each_entry_safe(domain_device, tmp, &s390_domain->devices, in s390_iommu_detach_device()
153 if (domain_device->zdev == zdev) { in s390_iommu_detach_device()
154 list_del(&domain_device->list); in s390_iommu_detach_device()
155 kfree(domain_device); in s390_iommu_detach_device()
203 struct s390_domain_device *domain_device; in s390_iommu_update_trans() local
231 list_for_each_entry(domain_device, &s390_domain->devices, list) { in s390_iommu_update_trans()
232 rc = zpci_refresh_trans((u64) domain_device->zdev->fh << 32, in s390_iommu_update_trans()