Lines Matching refs:new_domain
112 struct iommu_domain *new_domain,
115 struct iommu_domain *new_domain,
118 struct iommu_domain *new_domain) in __iommu_group_set_domain() argument
120 return __iommu_group_set_domain_internal(group, new_domain, 0); in __iommu_group_set_domain()
123 struct iommu_domain *new_domain) in __iommu_group_set_domain_nofail() argument
126 group, new_domain, IOMMU_SET_DOMAIN_MUST_SUCCEED)); in __iommu_group_set_domain_nofail()
2025 struct iommu_domain *new_domain; in __iommu_group_set_core_domain() local
2028 new_domain = group->blocking_domain; in __iommu_group_set_core_domain()
2030 new_domain = group->default_domain; in __iommu_group_set_core_domain()
2032 __iommu_group_set_domain_nofail(group, new_domain); in __iommu_group_set_core_domain()
2191 struct iommu_domain *new_domain) in iommu_group_replace_domain() argument
2195 if (!new_domain) in iommu_group_replace_domain()
2199 ret = __iommu_group_set_domain(group, new_domain); in iommu_group_replace_domain()
2207 struct iommu_domain *new_domain, in __iommu_device_set_domain() argument
2220 (new_domain->type == IOMMU_DOMAIN_BLOCKED || in __iommu_device_set_domain()
2221 new_domain == group->blocking_domain)) { in __iommu_device_set_domain()
2228 if (new_domain == group->default_domain) in __iommu_device_set_domain()
2233 ret = __iommu_attach_device(new_domain, dev); in __iommu_device_set_domain()
2242 group->blocking_domain != new_domain) in __iommu_device_set_domain()
2265 struct iommu_domain *new_domain, in __iommu_group_set_domain_internal() argument
2275 if (group->domain == new_domain) in __iommu_group_set_domain_internal()
2283 if (!new_domain) { in __iommu_group_set_domain_internal()
2302 ret = __iommu_device_set_domain(group, gdev->dev, new_domain, in __iommu_group_set_domain_internal()
2318 group->domain = new_domain; in __iommu_group_set_domain_internal()