Searched refs:VFIO_SET_IOMMU (Results 1 – 6 of 6) sorted by relevance
/linux/arch/um/drivers/ |
H A D | vfio_user.c | 65 if (ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU) < 0) in uml_vfio_user_setup_iommu()
|
/linux/drivers/iommu/iommufd/ |
H A D | vfio_compat.c | 521 case VFIO_SET_IOMMU: in iommufd_vfio_ioctl()
|
/linux/include/uapi/linux/ |
H A D | vfio.h | 123 * 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 D | container.c | 345 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 D | vfio.rst | 198 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 D | iommufd.c | 2389 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()
|