Lines Matching refs:domain_device
89 struct s390_domain_device *domain_device; in s390_iommu_attach_device() local
96 domain_device = kzalloc(sizeof(*domain_device), GFP_KERNEL); in s390_iommu_attach_device()
97 if (!domain_device) in s390_iommu_attach_device()
123 domain_device->zdev = zdev; in s390_iommu_attach_device()
125 list_add(&domain_device->list, &s390_domain->devices); in s390_iommu_attach_device()
132 kfree(domain_device); in s390_iommu_attach_device()
142 struct s390_domain_device *domain_device, *tmp; in s390_iommu_detach_device() local
150 list_for_each_entry_safe(domain_device, tmp, &s390_domain->devices, in s390_iommu_detach_device()
152 if (domain_device->zdev == zdev) { in s390_iommu_detach_device()
153 list_del(&domain_device->list); in s390_iommu_detach_device()
154 kfree(domain_device); in s390_iommu_detach_device()
215 struct s390_domain_device *domain_device; in s390_iommu_update_trans() local
243 list_for_each_entry(domain_device, &s390_domain->devices, list) { in s390_iommu_update_trans()
244 rc = zpci_refresh_trans((u64) domain_device->zdev->fh << 32, in s390_iommu_update_trans()