Lines Matching refs:ioas
78 if (!access->ioas) { in iommufd_test_syz_conv_iova()
82 ret = __iommufd_test_syz_conv_iova(&access->ioas->iopt, iova); in iommufd_test_syz_conv_iova()
90 struct iommufd_ioas *ioas; in iommufd_test_syz_conv_iova_id() local
96 ioas = iommufd_get_ioas(ucmd->ictx, ioas_id); in iommufd_test_syz_conv_iova_id()
97 if (IS_ERR(ioas)) in iommufd_test_syz_conv_iova_id()
99 *iova = __iommufd_test_syz_conv_iova(&ioas->iopt, iova); in iommufd_test_syz_conv_iova_id()
100 iommufd_put_object(&ioas->obj); in iommufd_test_syz_conv_iova_id()
515 struct iommufd_ioas *ioas; in iommufd_test_add_reserved() local
518 ioas = iommufd_get_ioas(ucmd->ictx, mockpt_id); in iommufd_test_add_reserved()
519 if (IS_ERR(ioas)) in iommufd_test_add_reserved()
520 return PTR_ERR(ioas); in iommufd_test_add_reserved()
521 down_write(&ioas->iopt.iova_rwsem); in iommufd_test_add_reserved()
522 rc = iopt_reserve_iova(&ioas->iopt, start, start + length - 1, NULL); in iommufd_test_add_reserved()
523 up_write(&ioas->iopt.iova_rwsem); in iommufd_test_add_reserved()
524 iommufd_put_object(&ioas->obj); in iommufd_test_add_reserved()