Searched refs:VFIO_TYPE1_IOMMU (Results 1 – 5 of 5) sorted by relevance
283 case VFIO_TYPE1_IOMMU: in iommufd_vfio_check_extension()333 if ((type != VFIO_TYPE1_IOMMU && type != VFIO_TYPE1v2_IOMMU) || in iommufd_vfio_set_iommu()350 if (type == VFIO_TYPE1_IOMMU) in iommufd_vfio_set_iommu()
25 #define VFIO_TYPE1_IOMMU 1 macro
2065 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F()2143 .version = VFIO_TYPE1_IOMMU, in FIXTURE_VARIANT_ADD()2161 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F()2378 if (variant->version == VFIO_TYPE1_IOMMU) { in TEST_F()
182 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU))198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
2542 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_open()2639 case VFIO_TYPE1_IOMMU: in vfio_iommu_type1_check_extension()