Searched refs:ndomains (Results 1 – 1 of 1) sorted by relevance
1252 unsigned long ndomains; in iommu_init_domains() local1255 ndomains = cap_ndoms(iommu->cap); in iommu_init_domains()1257 ndomains); in iommu_init_domains()1258 nlongs = BITS_TO_LONGS(ndomains); in iommu_init_domains()1270 iommu->domains = kcalloc(ndomains, sizeof(struct dmar_domain *), in iommu_init_domains()1359 unsigned long ndomains; in iommu_attach_domain() local1362 ndomains = cap_ndoms(iommu->cap); in iommu_attach_domain()1366 num = find_first_zero_bit(iommu->domain_ids, ndomains); in iommu_attach_domain()1367 if (num >= ndomains) { in iommu_attach_domain()1386 int num, ndomains; in iommu_detach_domain() local[all …]