Searched refs:iter_domain (Results 1 – 1 of 1) sorted by relevance
852 struct iommu_domain *iter_domain; in iopt_table_add_domain() local860 xa_for_each(&iopt->domains, index, iter_domain) { in iopt_table_add_domain()861 if (WARN_ON(iter_domain == domain)) { in iopt_table_add_domain()965 struct iommu_domain *iter_domain = NULL; in iopt_table_remove_domain() local971 xa_for_each(&iopt->domains, index, iter_domain) in iopt_table_remove_domain()972 if (iter_domain == domain) in iopt_table_remove_domain()974 if (WARN_ON(iter_domain != domain) || index >= iopt->next_domain_id) in iopt_table_remove_domain()982 iter_domain = xa_erase(&iopt->domains, iopt->next_domain_id); in iopt_table_remove_domain()984 xa_store(&iopt->domains, index, iter_domain, GFP_KERNEL); in iopt_table_remove_domain()