Searched refs:iommu_refcnt (Results 1 – 2 of 2) sorted by relevance
479 unsigned iommu_refcnt[DMAR_UNITS_SUPPORTED]; member
312 if (domain->iommu_refcnt[idx])1739 domain->iommu_refcnt[iommu->seq_id] += 1; in domain_attach_iommu()1741 if (domain->iommu_refcnt[iommu->seq_id] == 1) { in domain_attach_iommu()1747 domain->iommu_refcnt[iommu->seq_id] -= 1; in domain_attach_iommu()1772 domain->iommu_refcnt[iommu->seq_id] -= 1; in domain_detach_iommu()1774 if (domain->iommu_refcnt[iommu->seq_id] == 0) { in domain_detach_iommu()