Home
last modified time | relevance | path

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

/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/tools/testing/selftests/vfio/lib/
H A Diommu.c30 .iommu_type = VFIO_TYPE1_IOMMU,
40 .iommu_type = VFIO_TYPE1_IOMMU,
/linux/tools/testing/selftests/vfio/
H A Dvfio_dma_mapping_test.c164 if (self->iommu->mode->iommu_type == VFIO_TYPE1_IOMMU) in TEST_F()
/linux/include/uapi/linux/
H A Dvfio.h26 #define VFIO_TYPE1_IOMMU 1 macro
/linux/tools/testing/selftests/iommu/
H A Diommufd.c2489 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in FIXTURE_VARIANT()
2567 .version = VFIO_TYPE1_IOMMU,
2585 if (variant->version == VFIO_TYPE1_IOMMU) { in check_vfio_info_cap_chain()
2804 if (variant->version == VFIO_TYPE1_IOMMU) { in FIXTURE_SETUP()