Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/iommu/iommufd/ |
H A D | vfio_compat.c | 283 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 D | vfio_user.c | 37 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 D | vfio.h | 25 #define VFIO_TYPE1_IOMMU 1 macro
|
/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 2390 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 D | vfio.rst | 182 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU)) 198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 2526 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open() 2621 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()
|