Home
last modified time | relevance | path

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

/linux/arch/um/drivers/
H A Dvfio_user.c65 if (ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU) < 0) in uml_vfio_user_setup_iommu()
/linux/drivers/iommu/iommufd/
H A Dvfio_compat.c521 case VFIO_SET_IOMMU: in iommufd_vfio_ioctl()
/linux/include/uapi/linux/
H A Dvfio.h123 * VFIO_SET_IOMMU - _IOW(VFIO_TYPE, VFIO_BASE + 2, __s32)
133 #define VFIO_SET_IOMMU _IO(VFIO_TYPE, VFIO_BASE + 2) macro
/linux/drivers/vfio/
H A Dcontainer.c345 case VFIO_SET_IOMMU: in vfio_fops_unl_ioctl()
509 * VFIO_SET_IOMMU hasn't been done yet. in vfio_group_use_container()
/linux/Documentation/driver-api/
H A Dvfio.rst198 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU);
525 ioctl(container, VFIO_SET_IOMMU, VFIO_SPAPR_TCE_IOMMU)
/linux/tools/testing/selftests/iommu/
H A Diommufd.c2389 ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1v2_IOMMU)); in TEST_F()
2390 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F()
2453 ASSERT_EQ(0, ioctl(self->fd, VFIO_SET_IOMMU, variant->version)); in FIXTURE_SETUP()