Searched refs:iommufd (Results 1 – 15 of 15) sorted by relevance
/linux-6.3-rc2/Documentation/userspace-api/ |
A D | iommufd.rst | 41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an 53 datastructures (external to iommufd), with numbers referred to operations 57 | iommufd | 169 devices managed by different subsystems are bound to a same iommufd. 174 .. kernel-doc:: include/uapi/linux/iommufd.h 181 device-centric uAPI for connecting its device to an iommufd, instead of 184 .. kernel-doc:: drivers/iommu/iommufd/device.c 187 .. kernel-doc:: drivers/iommu/iommufd/main.c 193 Connecting a VFIO device to iommufd can be done in two ways. 198 /dev/iommufd or extending VFIO to SET_CONTAINER using an iommufd instead of a [all …]
|
A D | index.rst | 28 iommufd
|
/linux-6.3-rc2/drivers/vfio/ |
A D | group.c | 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() local 134 iommufd = iommufd_ctx_from_file(f.file); in vfio_group_ioctl_set_container() 135 if (!IS_ERR(iommufd)) { in vfio_group_ioctl_set_container() 143 iommufd_ctx_put(iommufd); in vfio_group_ioctl_set_container() 147 group->iommufd = iommufd; in vfio_group_ioctl_set_container() 411 if (group->iommufd) { in vfio_group_fops_release() 412 iommufd_ctx_put(group->iommufd); in vfio_group_fops_release() [all …]
|
A D | vfio.h | 21 int vfio_device_open(struct vfio_device *device, struct iommufd_ctx *iommufd); 23 struct iommufd_ctx *iommufd); 75 struct iommufd_ctx *iommufd; member
|
A D | vfio_main.c | 407 struct iommufd_ctx *iommufd) in vfio_device_first_open() argument 416 if (iommufd) in vfio_device_first_open() 417 ret = vfio_iommufd_bind(device, iommufd); in vfio_device_first_open() 431 if (iommufd) in vfio_device_first_open() 441 struct iommufd_ctx *iommufd) in vfio_device_last_close() argument 447 if (iommufd) in vfio_device_last_close() 454 int vfio_device_open(struct vfio_device *device, struct iommufd_ctx *iommufd) in vfio_device_open() argument 462 ret = vfio_device_first_open(device, iommufd); in vfio_device_open() 471 struct iommufd_ctx *iommufd) in vfio_device_close() argument 477 vfio_device_last_close(device, iommufd); in vfio_device_close()
|
A D | Makefile | 7 vfio-$(CONFIG_IOMMUFD) += iommufd.o
|
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | Makefile | 2 iommufd-y := \ 11 iommufd-$(CONFIG_IOMMUFD_TEST) += selftest.o 13 obj-$(CONFIG_IOMMUFD) += iommufd.o
|
/linux-6.3-rc2/tools/testing/selftests/iommu/ |
A D | .gitignore | 2 /iommufd
|
A D | iommufd.c | 56 FIXTURE(iommufd) in FIXTURE() argument 61 FIXTURE_SETUP(iommufd) in FIXTURE_SETUP() argument 67 FIXTURE_TEARDOWN(iommufd) in FIXTURE_TEARDOWN() argument 72 TEST_F(iommufd, simple_close) in TEST_F() argument 76 TEST_F(iommufd, cmd_fail) in TEST_F() argument 90 TEST_F(iommufd, cmd_length) in TEST_F() argument 130 TEST_F(iommufd, cmd_ex_fail) in TEST_F() argument 1275 TEST_F(iommufd, unmap_cmd) in TEST_F() argument 1293 TEST_F(iommufd, map_cmd) in TEST_F() argument 1313 TEST_F(iommufd, info_cmd) in TEST_F() argument [all …]
|
A D | Makefile | 8 TEST_GEN_PROGS += iommufd
|
/linux-6.3-rc2/drivers/iommu/ |
A D | Makefile | 2 obj-y += amd/ intel/ arm/ iommufd/
|
A D | Kconfig | 193 source "drivers/iommu/iommufd/Kconfig"
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | vfio.rst | 316 and unbound from iommufd. 319 IOAS managed by the bound iommufd. The attached IOAS is automatically 320 detached when the device is unbound from iommufd.
|
/linux-6.3-rc2/Documentation/userspace-api/ioctl/ |
A D | ioctl-number.rst | 108 ';' 80-FF linux/iommufd.h
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 10742 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git 10743 F: Documentation/userspace-api/iommufd.rst 10744 F: drivers/iommu/iommufd/ 10745 F: include/linux/iommufd.h 10746 F: include/uapi/linux/iommufd.h
|
Completed in 57 milliseconds