Searched refs:domain_ids (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/iommu/
H A Dvirtio-iommu.c39 struct ida domain_ids; member in struct:viommu_dev
676 ret = ida_alloc_range(&viommu->domain_ids, viommu->first_domain,
698 ida_free(&viommu->domain_ids, vdomain->id);
715 ida_free(&vdomain->viommu->domain_ids, vdomain->id);
1138 ida_init(&viommu->domain_ids);
/linux-master/drivers/iommu/intel/
H A Diommu.c1448 iommu->domain_ids = bitmap_zalloc(ndomains, GFP_KERNEL);
1449 if (!iommu->domain_ids)
1458 set_bit(0, iommu->domain_ids);
1468 set_bit(FLPT_DEFAULT_DID, iommu->domain_ids);
1475 if (!iommu->domain_ids)
1482 if (WARN_ON(bitmap_weight(iommu->domain_ids, cap_ndoms(iommu->cap))
1492 if (iommu->domain_ids) {
1493 bitmap_free(iommu->domain_ids);
1494 iommu->domain_ids = NULL;
1576 num = find_first_zero_bit(iommu->domain_ids, ndomain
[all...]
H A Diommu.h716 unsigned long *domain_ids; /* bitmap of domains */ member in struct:intel_iommu

Completed in 203 milliseconds