Lines Matching refs:iommu_lock
100 spin_lock(&vdpasim->iommu_lock); in vdpasim_do_reset()
105 &vdpasim->iommu_lock); in vdpasim_do_reset()
112 spin_unlock(&vdpasim->iommu_lock); in vdpasim_do_reset()
155 spin_lock(&vdpasim->iommu_lock); in vdpasim_map_range()
158 spin_unlock(&vdpasim->iommu_lock); in vdpasim_map_range()
171 spin_lock(&vdpasim->iommu_lock); in vdpasim_unmap_range()
174 spin_unlock(&vdpasim->iommu_lock); in vdpasim_unmap_range()
281 spin_lock_init(&vdpasim->iommu_lock); in vdpasim_create()
313 &vdpasim->iommu_lock); in vdpasim_create()
602 &vdpasim->iommu_lock); in vdpasim_set_group_asid()
621 spin_lock(&vdpasim->iommu_lock); in vdpasim_set_map()
633 spin_unlock(&vdpasim->iommu_lock); in vdpasim_set_map()
638 spin_unlock(&vdpasim->iommu_lock); in vdpasim_set_map()
652 spin_lock(&vdpasim->iommu_lock); in vdpasim_dma_map()
655 spin_unlock(&vdpasim->iommu_lock); in vdpasim_dma_map()
668 spin_lock(&vdpasim->iommu_lock); in vdpasim_dma_unmap()
670 spin_unlock(&vdpasim->iommu_lock); in vdpasim_dma_unmap()