Searched refs:domain_ids (Results 1 – 2 of 2) sorted by relevance
1684 iommu->domain_ids = kcalloc(nlongs, sizeof(unsigned long), GFP_KERNEL); in iommu_init_domains()1685 if (!iommu->domain_ids) { in iommu_init_domains()1702 kfree(iommu->domain_ids); in iommu_init_domains()1704 iommu->domain_ids = NULL; in iommu_init_domains()1717 set_bit(0, iommu->domain_ids); in iommu_init_domains()1727 if (!iommu->domains || !iommu->domain_ids) in disable_dmar_iommu()1765 if ((iommu->domains) && (iommu->domain_ids)) { in free_dmar_iommu()1772 kfree(iommu->domain_ids); in free_dmar_iommu()1774 iommu->domain_ids = NULL; in free_dmar_iommu()1822 num = find_first_zero_bit(iommu->domain_ids, ndomains); in domain_attach_iommu()[all …]
444 unsigned long *domain_ids; /* bitmap of domains */ member