Searched refs:g_num_of_iommus (Results 1 – 1 of 1) sorted by relevance
421 static int g_num_of_iommus; variable584 iommu_id = find_first_bit(domain->iommu_bmp, g_num_of_iommus); in domain_get_iommu()585 if (iommu_id < 0 || iommu_id >= g_num_of_iommus) in domain_get_iommu()595 i = find_first_bit(domain->iommu_bmp, g_num_of_iommus); in domain_update_iommu_coherency()597 domain->iommu_coherency = i < g_num_of_iommus ? 1 : 0; in domain_update_iommu_coherency()599 for_each_set_bit(i, domain->iommu_bmp, g_num_of_iommus) { in domain_update_iommu_coherency()613 for_each_set_bit(i, domain->iommu_bmp, g_num_of_iommus) { in domain_update_iommu_snooping()1328 for (i = 0; i < g_num_of_iommus; i++) { in free_dmar_iommu()1333 if (i == g_num_of_iommus) in free_dmar_iommu()2470 if (g_num_of_iommus < IOMMU_UNITS_SUPPORTED) { in init_dmars()[all …]