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()
131 domain_device->zdev = zdev; in s390_iommu_attach_device()
133 list_add(&domain_device->list, &s390_domain->devices); in s390_iommu_attach_device()
141 kfree(domain_device); in s390_iommu_attach_device()
151 struct s390_domain_device *domain_device, *tmp; in s390_iommu_detach_device() local
159 list_for_each_entry_safe(domain_device, tmp, &s390_domain->devices, in s390_iommu_detach_device()
161 if (domain_device->zdev == zdev) { in s390_iommu_detach_device()
162 list_del(&domain_device->list); in s390_iommu_detach_device()
163 kfree(domain_device); in s390_iommu_detach_device()
211 struct s390_domain_device *domain_device; in s390_iommu_update_trans() local
239 list_for_each_entry(domain_device, &s390_domain->devices, list) { in s390_iommu_update_trans()
240 rc = zpci_refresh_trans((u64) domain_device->zdev->fh << 32, in s390_iommu_update_trans()