Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 8 of 8) 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/tools/testing/selftests/vfio/lib/ |
| H A D | iommu.c | 30 .iommu_type = VFIO_TYPE1_IOMMU, 40 .iommu_type = VFIO_TYPE1_IOMMU,
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_dma_mapping_test.c | 164 if (self->iommu->mode->iommu_type == VFIO_TYPE1_IOMMU) in TEST_F()
|
| /linux/include/uapi/linux/ |
| H A D | vfio.h | 26 #define VFIO_TYPE1_IOMMU 1 macro
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd.c | 2447 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F() 2525 .version = VFIO_TYPE1_IOMMU, in FIXTURE_VARIANT_ADD() 2543 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F() 2762 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 | 2633 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open() 2728 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()
|