Searched refs:ndomains (Results 1 – 1 of 1) sorted by relevance
1145 unsigned long ndomains; in iommu_init_domains() local1148 ndomains = cap_ndoms(iommu->cap); in iommu_init_domains()1150 ndomains); in iommu_init_domains()1151 nlongs = BITS_TO_LONGS(ndomains); in iommu_init_domains()1163 iommu->domains = kcalloc(ndomains, sizeof(struct dmar_domain *), in iommu_init_domains()1252 unsigned long ndomains; in iommu_attach_domain() local1255 ndomains = cap_ndoms(iommu->cap); in iommu_attach_domain()1259 num = find_first_zero_bit(iommu->domain_ids, ndomains); in iommu_attach_domain()1260 if (num >= ndomains) { in iommu_attach_domain()1279 int num, ndomains; in iommu_detach_domain() local[all …]