Home
last modified time | relevance | path

Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/iommu/iommufd/
H A Dvfio_compat.c283 case VFIO_TYPE1_IOMMU: in iommufd_vfio_check_extension()
328 if ((type != VFIO_TYPE1_IOMMU && type != VFIO_TYPE1v2_IOMMU) || in iommufd_vfio_set_iommu()
345 if (type == VFIO_TYPE1_IOMMU) in iommufd_vfio_set_iommu()
/linux/arch/um/drivers/
H A Dvfio_user.c37 r = ioctl(fd, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU); in uml_vfio_user_open_container()
65 if (ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU) < 0) in uml_vfio_user_setup_iommu()
/linux/include/uapi/linux/
H A Dvfio.h25 #define VFIO_TYPE1_IOMMU 1 macro
/linux/tools/testing/selftests/iommu/
H A Diommufd.c2390 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F()
2468 .version = VFIO_TYPE1_IOMMU, in FIXTURE_VARIANT_ADD()
2486 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F()
2703 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F()
/linux/Documentation/driver-api/
H A Dvfio.rst182 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU))
198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
/linux/drivers/vfio/
H A Dvfio_iommu_type1.c2526 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open()
2621 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()