Searched refs:iommufd_device (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/vfio/ |
D | iommufd.c | 66 if (vdev->iommufd_device) in vfio_iommufd_device_ictx() 67 return iommufd_device_to_ictx(vdev->iommufd_device); in vfio_iommufd_device_ictx() 74 if (vdev->iommufd_device) in vfio_iommufd_device_id() 75 return iommufd_device_to_id(vdev->iommufd_device); in vfio_iommufd_device_id() 116 struct iommufd_device *idev; in vfio_iommufd_physical_bind() 121 vdev->iommufd_device = idev; in vfio_iommufd_physical_bind() 131 iommufd_device_detach(vdev->iommufd_device); in vfio_iommufd_physical_unbind() 134 iommufd_device_unbind(vdev->iommufd_device); in vfio_iommufd_physical_unbind() 135 vdev->iommufd_device = NULL; in vfio_iommufd_physical_unbind() 145 if (WARN_ON(!vdev->iommufd_device)) in vfio_iommufd_physical_attach_ioas() [all …]
|
/linux-6.12.1/include/linux/ |
D | iommufd.h | 18 struct iommufd_device; 21 struct iommufd_device *iommufd_device_bind(struct iommufd_ctx *ictx, 23 void iommufd_device_unbind(struct iommufd_device *idev); 25 int iommufd_device_attach(struct iommufd_device *idev, u32 *pt_id); 26 int iommufd_device_replace(struct iommufd_device *idev, u32 *pt_id); 27 void iommufd_device_detach(struct iommufd_device *idev); 29 struct iommufd_ctx *iommufd_device_to_ictx(struct iommufd_device *idev); 30 u32 iommufd_device_to_id(struct iommufd_device *idev);
|
D | vfio.h | 22 struct iommufd_device; 69 struct iommufd_device *iommufd_device; member
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | iommufd_private.h | 20 struct iommufd_device; 368 struct iommufd_device *idev, u32 flags, 372 struct iommufd_device *idev); 374 iommufd_hw_pagetable_detach(struct iommufd_device *idev); 413 struct iommufd_device { struct 426 static inline struct iommufd_device * argument 431 struct iommufd_device, obj); in iommufd_get_device() 475 struct iommufd_device *idev; 494 struct iommufd_device *idev); 496 struct iommufd_device *idev); [all …]
|
D | device.c | 136 struct iommufd_device *idev = in iommufd_device_destroy() 137 container_of(obj, struct iommufd_device, obj); in iommufd_device_destroy() 161 struct iommufd_device *iommufd_device_bind(struct iommufd_ctx *ictx, in iommufd_device_bind() 164 struct iommufd_device *idev; in iommufd_device_bind() 258 container_of(obj, struct iommufd_device, obj) in iommufd_ctx_has_group() 278 void iommufd_device_unbind(struct iommufd_device *idev) in iommufd_device_unbind() 284 struct iommufd_ctx *iommufd_device_to_ictx(struct iommufd_device *idev) in iommufd_device_to_ictx() 290 u32 iommufd_device_to_id(struct iommufd_device *idev) in iommufd_device_to_id() 331 iommufd_device_attach_reserved_iova(struct iommufd_device *idev, in iommufd_device_attach_reserved_iova() 356 struct iommufd_device *idev) in iommufd_hw_pagetable_attach() [all …]
|
D | fault.c | 19 static int iommufd_fault_iopf_enable(struct iommufd_device *idev) in iommufd_fault_iopf_enable() 48 static void iommufd_fault_iopf_disable(struct iommufd_device *idev) in iommufd_fault_iopf_disable() 59 struct iommufd_device *idev) in __fault_domain_attach_dev() 78 struct iommufd_device *idev) in iommufd_fault_domain_attach_dev() 126 iommufd_device_get_attach_handle(struct iommufd_device *idev) in iommufd_device_get_attach_handle() 138 struct iommufd_device *idev) in iommufd_fault_domain_detach_dev() 149 static int __fault_domain_replace_dev(struct iommufd_device *idev, in __fault_domain_replace_dev() 180 int iommufd_fault_domain_replace_dev(struct iommufd_device *idev, in iommufd_fault_domain_replace_dev() 227 struct iommufd_device *idev, in iommufd_compose_fault_message() 246 struct iommufd_device *idev; in iommufd_fault_fops_read()
|
D | hw_pagetable.c | 105 struct iommufd_device *idev, u32 flags, in iommufd_hwpt_paging_alloc() 217 struct iommufd_device *idev, u32 flags, in iommufd_hwpt_nested_alloc() 274 struct iommufd_device *idev; in iommufd_hwpt_alloc()
|
D | selftest.c | 151 struct iommufd_device *idev; 742 struct iommufd_device *idev; in iommufd_test_mock_domain() 1411 struct iommufd_device *idev; in iommufd_test_trigger_iopf()
|
/linux-6.12.1/Documentation/userspace-api/ |
D | iommufd.rst | 122 - iommufd_device for IOMMUFD_OBJ_DEVICE.
|