Searched refs:ndomains (Results 1 – 1 of 1) sorted by relevance
1366 u32 ndomains; in iommu_init_domains() local1368 ndomains = cap_ndoms(iommu->cap); in iommu_init_domains()1370 iommu->name, ndomains); in iommu_init_domains()1374 iommu->domain_ids = bitmap_zalloc(ndomains, GFP_KERNEL); in iommu_init_domains()1481 unsigned long ndomains; in domain_attach_iommu() local1500 ndomains = cap_ndoms(iommu->cap); in domain_attach_iommu()1501 num = find_first_zero_bit(iommu->domain_ids, ndomains); in domain_attach_iommu()1502 if (num >= ndomains) { in domain_attach_iommu()