Searched refs:g_num_of_iommus (Results 1 – 1 of 1) sorted by relevance
378 for (idx = 0; idx < g_num_of_iommus; idx++) \473 static int g_num_of_iommus; variable749 if (iommu_id < 0 || iommu_id >= g_num_of_iommus) in domain_get_iommu()3160 if (g_num_of_iommus < DMAR_UNITS_SUPPORTED) { in init_dmars()3161 g_num_of_iommus++; in init_dmars()3168 if (g_num_of_iommus < DMAR_UNITS_SUPPORTED) in init_dmars()3169 g_num_of_iommus = DMAR_UNITS_SUPPORTED; in init_dmars()3171 g_iommus = kcalloc(g_num_of_iommus, sizeof(struct intel_iommu *), in init_dmars()3179 deferred_flush = kzalloc(g_num_of_iommus * in init_dmars()3584 for (i = 0; i < g_num_of_iommus; i++) { in flush_unmaps()