Home
last modified time | relevance | path

Searched refs:iommufd_device (Results 1 – 5 of 5) sorted by relevance

/drivers/vfio/
Diommufd.c66 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 …]
/drivers/iommu/iommufd/
Ddevice.c136 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()
257 container_of(obj, struct iommufd_device, obj) in iommufd_ctx_has_group()
277 void iommufd_device_unbind(struct iommufd_device *idev) in iommufd_device_unbind()
283 struct iommufd_ctx *iommufd_device_to_ictx(struct iommufd_device *idev) in iommufd_device_to_ictx()
289 u32 iommufd_device_to_id(struct iommufd_device *idev) in iommufd_device_to_id()
329 struct iommufd_device *idev) in iommufd_hw_pagetable_attach()
381 iommufd_hw_pagetable_detach(struct iommufd_device *idev) in iommufd_hw_pagetable_detach()
[all …]
Diommufd_private.h15 struct iommufd_device;
245 struct iommufd_device *idev, bool immediate_attach);
248 struct iommufd_device *idev);
250 iommufd_hw_pagetable_detach(struct iommufd_device *idev);
280 struct iommufd_device { struct
290 static inline struct iommufd_device * argument
295 struct iommufd_device, obj); in iommufd_get_device()
Dhw_pagetable.c75 struct iommufd_device *idev, bool immediate_attach) in iommufd_hw_pagetable_alloc()
140 struct iommufd_device *idev; in iommufd_hwpt_alloc()
Dselftest.c107 struct iommufd_device *idev;
407 struct iommufd_device *idev; in iommufd_test_mock_domain()