Searched refs:VFIO_SET_IOMMU (Results 1 – 7 of 7) 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/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_device.c | 259 (void)ioctl(iommu->container_fd, VFIO_SET_IOMMU, (void *)iommu_type); in vfio_pci_container_setup()
|
| /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 | 134 #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()
|
| /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 | 2446 ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1v2_IOMMU)); in TEST_F() 2447 EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)); in TEST_F() 2510 ASSERT_EQ(0, ioctl(self->fd, VFIO_SET_IOMMU, variant->version)); in FIXTURE_SETUP()
|