Home
last modified time | relevance | path

Searched refs:iova_rwsem (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/iommu/iommufd/
Dio_pagetable.c36 lockdep_assert_held(&iopt->iova_rwsem); in iopt_area_contig_init()
118 lockdep_assert_held(&iopt->iova_rwsem); in iopt_alloc_iova()
177 lockdep_assert_held(&iopt->iova_rwsem); in iopt_check_iova()
203 lockdep_assert_held_write(&iopt->iova_rwsem); in iopt_insert_area()
260 down_write(&iopt->iova_rwsem); in iopt_alloc_area_pages()
300 up_write(&iopt->iova_rwsem); in iopt_alloc_area_pages()
309 down_write(&area->iopt->iova_rwsem); in iopt_abort_area()
311 up_write(&area->iopt->iova_rwsem); in iopt_abort_area()
370 down_write(&iopt->iova_rwsem); in iopt_map_pages()
381 up_write(&iopt->iova_rwsem); in iopt_map_pages()
[all …]
Ddevice.c983 down_read(&iopt->iova_rwsem); in iommufd_access_unpin_pages()
991 up_read(&iopt->iova_rwsem); in iommufd_access_unpin_pages()
1061 down_read(&iopt->iova_rwsem); in iommufd_access_pin_pages()
1090 up_read(&iopt->iova_rwsem); in iommufd_access_pin_pages()
1105 up_read(&iopt->iova_rwsem); in iommufd_access_pin_pages()
1144 down_read(&iopt->iova_rwsem); in iommufd_access_rw()
1169 up_read(&iopt->iova_rwsem); in iommufd_access_rw()
Dioas.c78 down_read(&ioas->iopt.iova_rwsem); in iommufd_ioas_iova_ranges()
107 up_read(&ioas->iopt.iova_rwsem); in iommufd_ioas_iova_ranges()
Dvfio_compat.c472 down_read(&ioas->iopt.iova_rwsem); in iommufd_vfio_iommu_get_info()
513 up_read(&ioas->iopt.iova_rwsem); in iommufd_vfio_iommu_get_info()
Dio_pagetable.h124 lockdep_assert_held(&iopt->iova_rwsem); \
Dselftest.c78 down_read(&iopt->iova_rwsem); in __iommufd_test_syz_conv_iova()
82 up_read(&iopt->iova_rwsem); in __iommufd_test_syz_conv_iova()
87 up_read(&iopt->iova_rwsem); in __iommufd_test_syz_conv_iova()
845 down_write(&ioas->iopt.iova_rwsem); in iommufd_test_add_reserved()
847 up_write(&ioas->iopt.iova_rwsem); in iommufd_test_add_reserved()
Diommufd_private.h50 struct rw_semaphore iova_rwsem; member