Searched refs:iommufd (Results 1 – 14 of 14) sorted by relevance
67 return group->container || group->iommufd; in vfio_group_has_iommu()92 if (group->iommufd) { in vfio_group_ioctl_unset_container()93 iommufd_ctx_put(group->iommufd); in vfio_group_ioctl_unset_container()94 group->iommufd = NULL; in vfio_group_ioctl_unset_container()106 struct iommufd_ctx *iommufd; in vfio_group_ioctl_set_container() local133 iommufd = iommufd_ctx_from_file(fd_file(f)); in vfio_group_ioctl_set_container()134 if (!IS_ERR(iommufd)) { in vfio_group_ioctl_set_container()137 ret = iommufd_vfio_compat_set_no_iommu(iommufd); in vfio_group_ioctl_set_container()139 ret = iommufd_vfio_compat_ioas_create(iommufd); in vfio_group_ioctl_set_container()142 iommufd_ctx_put(iommufd); in vfio_group_ioctl_set_container()[all …]
7 vfio-$(CONFIG_IOMMUFD) += iommufd.o
508 struct iommufd_ctx *iommufd = df->iommufd; in vfio_df_device_first_open() local516 if (iommufd) in vfio_df_device_first_open()531 if (iommufd) in vfio_df_device_first_open()543 struct iommufd_ctx *iommufd = df->iommufd; in vfio_df_device_last_close() local549 if (iommufd) in vfio_df_device_last_close()
27 struct iommufd_ctx *iommufd; /* protected by struct vfio_device_set::lock */ member94 struct iommufd_ctx *iommufd; member
24 struct iommufd_ctx *ictx = df->iommufd; in vfio_df_iommufd_bind()
24 /dev/vfio/devices/vfioX, and then bind the device fd with an iommufd
2 /iommufd
7 TEST_GEN_PROGS += iommufd
59 FIXTURE(iommufd) in FIXTURE() argument64 FIXTURE_SETUP(iommufd) in FIXTURE_SETUP() argument70 FIXTURE_TEARDOWN(iommufd) in FIXTURE_TEARDOWN() argument75 TEST_F(iommufd, simple_close) in TEST_F() argument79 TEST_F(iommufd, cmd_fail) in TEST_F() argument93 TEST_F(iommufd, cmd_length) in TEST_F() argument144 TEST_F(iommufd, cmd_ex_fail) in TEST_F() argument164 TEST_F(iommufd, global_options) in TEST_F() argument2246 TEST_F(iommufd, simple_ioctls) in TEST_F() argument2252 TEST_F(iommufd, unmap_cmd) in TEST_F() argument[all …]
4 arm_smmu_v3-$(CONFIG_ARM_SMMU_V3_IOMMUFD) += arm-smmu-v3-iommufd.o
48 iommufd
799 struct iommufd_ctx *iommufd = vfio_iommufd_device_ictx(fill->vdev); in vfio_pci_fill_devs() local811 int id = vfio_iommufd_get_dev_id(vdev, iommufd); in vfio_pci_fill_devs()
112 ';' 80-FF linux/iommufd.h
12049 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git12050 F: Documentation/userspace-api/iommufd.rst12051 F: drivers/iommu/iommufd/12052 F: include/linux/iommufd.h12053 F: include/uapi/linux/iommufd.h