Searched refs:iter_domain (Results 1 – 1 of 1) sorted by relevance
1024 struct iommu_domain *iter_domain; in iopt_table_add_domain() local1032 xa_for_each(&iopt->domains, index, iter_domain) { in iopt_table_add_domain()1033 if (WARN_ON(iter_domain == domain)) { in iopt_table_add_domain()1137 struct iommu_domain *iter_domain = NULL; in iopt_table_remove_domain() local1143 xa_for_each(&iopt->domains, index, iter_domain) in iopt_table_remove_domain()1144 if (iter_domain == domain) in iopt_table_remove_domain()1146 if (WARN_ON(iter_domain != domain) || index >= iopt->next_domain_id) in iopt_table_remove_domain()1154 iter_domain = xa_erase(&iopt->domains, iopt->next_domain_id); in iopt_table_remove_domain()1156 xa_store(&iopt->domains, index, iter_domain, GFP_KERNEL); in iopt_table_remove_domain()