Home
last modified time | relevance | path

Searched refs:g_num_of_iommus (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/iommu/intel/
Diommu.c283 for (idx = 0; idx < g_num_of_iommus; idx++) \
320 static int g_num_of_iommus; variable
586 if (iommu_id < 0 || iommu_id >= g_num_of_iommus) in domain_get_iommu()
3201 if (g_num_of_iommus < DMAR_UNITS_SUPPORTED) { in init_dmars()
3202 g_num_of_iommus++; in init_dmars()
3209 if (g_num_of_iommus < DMAR_UNITS_SUPPORTED) in init_dmars()
3210 g_num_of_iommus = DMAR_UNITS_SUPPORTED; in init_dmars()
3212 g_iommus = kcalloc(g_num_of_iommus, sizeof(struct intel_iommu *), in init_dmars()