Searched refs:sva_pdom (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iommu/amd/ |
H A D | pasid.c | 64 struct protection_domain *sva_pdom; in sva_arch_invalidate_secondary_tlbs() local 67 sva_pdom = container_of(mn, struct protection_domain, mn); in sva_arch_invalidate_secondary_tlbs() 69 spin_lock_irqsave(&sva_pdom->lock, flags); in sva_arch_invalidate_secondary_tlbs() 71 for_each_pdom_dev_data(pdom_dev_data, sva_pdom) { in sva_arch_invalidate_secondary_tlbs() 77 spin_unlock_irqrestore(&sva_pdom->lock, flags); in sva_arch_invalidate_secondary_tlbs() 83 struct protection_domain *sva_pdom; in sva_mn_release() local 86 sva_pdom = container_of(mn, struct protection_domain, mn); in sva_mn_release() 88 spin_lock_irqsave(&sva_pdom->lock, flags); in sva_mn_release() 91 for_each_pdom_dev_data_safe(pdom_dev_data, next, sva_pdom) in sva_mn_release() 94 spin_unlock_irqrestore(&sva_pdom->lock, flags); in sva_mn_release() [all …]
|