Searched refs:iommu_refcnt (Results 1 – 2 of 2) sorted by relevance
395 unsigned iommu_refcnt[DMAR_UNITS_SUPPORTED]; member
381 if (domain->iommu_refcnt[idx])1818 domain->iommu_refcnt[iommu->seq_id] += 1; in domain_attach_iommu()1820 if (domain->iommu_refcnt[iommu->seq_id] == 1) { in domain_attach_iommu()1826 domain->iommu_refcnt[iommu->seq_id] -= 1; in domain_attach_iommu()1851 domain->iommu_refcnt[iommu->seq_id] -= 1; in domain_detach_iommu()1853 if (domain->iommu_refcnt[iommu->seq_id] == 0) { in domain_detach_iommu()