Searched refs:ioas (Results 1 – 2 of 2) sorted by relevance
15 struct iommufd_ioas *ioas = container_of(obj, struct iommufd_ioas, obj); in iommufd_ioas_destroy() local18 rc = iopt_unmap_all(&ioas->iopt, NULL); in iommufd_ioas_destroy()20 iopt_destroy_table(&ioas->iopt); in iommufd_ioas_destroy()21 mutex_destroy(&ioas->mutex); in iommufd_ioas_destroy()26 struct iommufd_ioas *ioas; in iommufd_ioas_alloc() local28 ioas = iommufd_object_alloc(ictx, ioas, IOMMUFD_OBJ_IOAS); in iommufd_ioas_alloc()29 if (IS_ERR(ioas)) in iommufd_ioas_alloc()30 return ioas; in iommufd_ioas_alloc()32 iopt_init_table(&ioas->iopt); in iommufd_ioas_alloc()33 INIT_LIST_HEAD(&ioas->hwpt_list); in iommufd_ioas_alloc()[all …]
325 rc = iommufd_access_attach_internal(access, viommu->hwpt->ioas); in iommufd_hw_queue_alloc_phys()