Lines Matching refs:iommu_id
741 int iommu_id; in domain_get_iommu() local
745 for_each_domain_iommu(iommu_id, domain) in domain_get_iommu()
748 if (iommu_id < 0 || iommu_id >= g_num_of_iommus) in domain_get_iommu()
751 return g_iommus[iommu_id]; in domain_get_iommu()
3556 int next, iommu_id; in add_unmap() local
3564 iommu_id = iommu->seq_id; in add_unmap()
3566 next = deferred_flush[iommu_id].next; in add_unmap()
3567 deferred_flush[iommu_id].domain[next] = dom; in add_unmap()
3568 deferred_flush[iommu_id].iova[next] = iova; in add_unmap()
3569 deferred_flush[iommu_id].freelist[next] = freelist; in add_unmap()
3570 deferred_flush[iommu_id].next++; in add_unmap()
4900 int iommu_id, level = 0; in intel_iommu_unmap() local
4916 for_each_domain_iommu(iommu_id, dmar_domain) { in intel_iommu_unmap()
4917 iommu = g_iommus[iommu_id]; in intel_iommu_unmap()
4919 iommu_flush_iotlb_psi(g_iommus[iommu_id], dmar_domain, in intel_iommu_unmap()