Searched refs:domain_ids (Results 1 – 3 of 3) sorted by relevance
39 struct ida domain_ids; member676 ret = ida_alloc_range(&viommu->domain_ids, viommu->first_domain, in viommu_domain_finalise()698 ida_free(&viommu->domain_ids, vdomain->id); in viommu_domain_finalise()715 ida_free(&vdomain->viommu->domain_ids, vdomain->id); in viommu_domain_free()1095 ida_init(&viommu->domain_ids); in viommu_probe()
1679 iommu->domain_ids = bitmap_zalloc(ndomains, GFP_KERNEL); in iommu_init_domains()1680 if (!iommu->domain_ids) in iommu_init_domains()1689 set_bit(0, iommu->domain_ids); in iommu_init_domains()1699 set_bit(FLPT_DEFAULT_DID, iommu->domain_ids); in iommu_init_domains()1706 if (!iommu->domain_ids) in disable_dmar_iommu()1713 if (WARN_ON(bitmap_weight(iommu->domain_ids, cap_ndoms(iommu->cap)) in disable_dmar_iommu()1723 if (iommu->domain_ids) { in free_dmar_iommu()1724 bitmap_free(iommu->domain_ids); in free_dmar_iommu()1725 iommu->domain_ids = NULL; in free_dmar_iommu()1805 num = find_first_zero_bit(iommu->domain_ids, ndomains); in domain_attach_iommu()[all …]
581 unsigned long *domain_ids; /* bitmap of domains */ member