Searched refs:iommufd_ioas (Results 1 – 7 of 7) sorted by relevance
/drivers/iommu/iommufd/ |
D | vfio_compat.c | 15 static struct iommufd_ioas *get_compat_ioas(struct iommufd_ctx *ictx) in get_compat_ioas() 17 struct iommufd_ioas *ioas = ERR_PTR(-ENODEV); in get_compat_ioas() 38 struct iommufd_ioas *ioas; in iommufd_vfio_compat_ioas_get_id() 82 struct iommufd_ioas *ioas = NULL; in iommufd_vfio_compat_ioas_create() 126 struct iommufd_ioas *ioas; in iommufd_vfio_ioas() 166 struct iommufd_ioas *ioas; in iommufd_vfio_map_dma() 210 struct iommufd_ioas *ioas; in iommufd_vfio_unmap_dma() 259 struct iommufd_ioas *ioas; in iommufd_vfio_cc_iommu() 318 struct iommufd_ioas *ioas = NULL; in iommufd_vfio_set_iommu() 356 static unsigned long iommufd_get_pagesizes(struct iommufd_ioas *ioas) in iommufd_get_pagesizes() [all …]
|
D | ioas.c | 14 struct iommufd_ioas *ioas = container_of(obj, struct iommufd_ioas, obj); in iommufd_ioas_destroy() 23 struct iommufd_ioas *iommufd_ioas_alloc(struct iommufd_ctx *ictx) in iommufd_ioas_alloc() 25 struct iommufd_ioas *ioas; in iommufd_ioas_alloc() 40 struct iommufd_ioas *ioas; in iommufd_ioas_alloc_ioctl() 66 struct iommufd_ioas *ioas; in iommufd_ioas_iova_ranges() 147 struct iommufd_ioas *ioas; in iommufd_ioas_allow_iovas() 204 struct iommufd_ioas *ioas; in iommufd_ioas_map() 238 struct iommufd_ioas *src_ioas; in iommufd_ioas_copy() 239 struct iommufd_ioas *dst_ioas; in iommufd_ioas_copy() 291 struct iommufd_ioas *ioas; in iommufd_ioas_unmap() [all …]
|
D | iommufd_private.h | 25 struct iommufd_ioas *vfio_ioas; 197 struct iommufd_ioas { struct 204 static inline struct iommufd_ioas *iommufd_get_ioas(struct iommufd_ctx *ictx, in iommufd_get_ioas() argument 209 struct iommufd_ioas, obj); in iommufd_get_ioas() 212 struct iommufd_ioas *iommufd_ioas_alloc(struct iommufd_ctx *ictx); 234 struct iommufd_ioas *ioas; 244 iommufd_hw_pagetable_alloc(struct iommufd_ctx *ictx, struct iommufd_ioas *ioas, 304 struct iommufd_ioas *ioas; 305 struct iommufd_ioas *ioas_unpin;
|
D | device.c | 498 struct iommufd_ioas *ioas, u32 *pt_id, in iommufd_device_auto_get_domain() 592 struct iommufd_ioas *ioas = in iommufd_device_change_pt() 593 container_of(pt_obj, struct iommufd_ioas, obj); in iommufd_device_change_pt() 691 struct iommufd_ioas *new_ioas) in iommufd_access_change_ioas() 694 struct iommufd_ioas *cur_ioas = access->ioas; in iommufd_access_change_ioas() 739 struct iommufd_ioas *ioas = iommufd_get_ioas(access->ictx, id); in iommufd_access_change_ioas_id() 881 struct iommufd_ioas *ioas = in iommufd_access_notify_unmap() 882 container_of(iopt, struct iommufd_ioas, iopt); in iommufd_access_notify_unmap()
|
D | hw_pagetable.c | 74 iommufd_hw_pagetable_alloc(struct iommufd_ctx *ictx, struct iommufd_ioas *ioas, in iommufd_hw_pagetable_alloc() 141 struct iommufd_ioas *ioas; in iommufd_hwpt_alloc()
|
D | selftest.c | 75 struct iommufd_ioas *ioas; in iommufd_test_syz_conv_iova_id() 500 struct iommufd_ioas *ioas; in iommufd_test_add_reserved()
|
D | main.c | 162 if (ictx->vfio_ioas == container_of(obj, struct iommufd_ioas, obj)) in iommufd_object_remove()
|