Lines Matching refs:s2_domain
33 if (iommu->agaw < dmar_domain->s2_domain->agaw) { in intel_nested_attach_dev()
43 ret = prepare_domain_attach_device(&dmar_domain->s2_domain->domain, dev); in intel_nested_attach_dev()
81 struct dmar_domain *s2_domain = dmar_domain->s2_domain; in intel_nested_domain_free() local
83 spin_lock(&s2_domain->s1_lock); in intel_nested_domain_free()
85 spin_unlock(&s2_domain->s1_lock); in intel_nested_domain_free()
142 struct dmar_domain *s2_domain = to_dmar_domain(parent); in intel_nested_domain_alloc() local
151 !s2_domain->nested_parent) in intel_nested_domain_alloc()
164 domain->s2_domain = s2_domain; in intel_nested_domain_alloc()
176 spin_lock(&s2_domain->s1_lock); in intel_nested_domain_alloc()
177 list_add(&domain->s2_link, &s2_domain->s1_domains); in intel_nested_domain_alloc()
178 spin_unlock(&s2_domain->s1_lock); in intel_nested_domain_alloc()