Searched refs:vioc (Results 1 – 5 of 5) sorted by relevance
22 VFIOIOMMUClass *vioc = VFIO_IOMMU_GET_CLASS(bcontainer); in vfio_container_dma_map() local24 g_assert(vioc->dma_map); in vfio_container_dma_map()32 VFIOIOMMUClass *vioc = VFIO_IOMMU_GET_CLASS(bcontainer); in vfio_container_dma_unmap() local34 g_assert(vioc->dma_unmap); in vfio_container_dma_unmap()35 return vioc->dma_unmap(bcontainer, iova, size, iotlb); in vfio_container_dma_unmap()44 if (!vioc->add_window) { in vfio_container_add_section_window()48 return vioc->add_window(bcontainer, section, errp); in vfio_container_add_section_window()56 if (!vioc->del_window) { in vfio_container_del_section_window()60 return vioc->del_window(bcontainer, section); in vfio_container_del_section_window()72 g_assert(vioc->set_dirty_page_tracking); in vfio_container_set_dirty_page_tracking()[all …]
547 VFIOIOMMUClass *vioc; in vfio_connect_container() local631 vioc = VFIO_IOMMU_GET_CLASS(bcontainer); in vfio_connect_container()632 assert(vioc->setup); in vfio_connect_container()634 if (!vioc->setup(bcontainer, errp)) { in vfio_connect_container()661 if (vioc->release) { in vfio_connect_container()662 vioc->release(bcontainer); in vfio_connect_container()699 if (vioc->release) { in vfio_disconnect_container()700 vioc->release(bcontainer); in vfio_disconnect_container()1132 vioc->setup = vfio_legacy_setup; in vfio_iommu_legacy_class_init()1133 vioc->dma_map = vfio_legacy_dma_map; in vfio_iommu_legacy_class_init()[all …]
791 VFIOIOMMUClass *vioc = VFIO_IOMMU_CLASS(klass); in vfio_iommu_iommufd_class_init() local793 vioc->hiod_typename = TYPE_HOST_IOMMU_DEVICE_IOMMUFD_VFIO; in vfio_iommu_iommufd_class_init()795 vioc->dma_map = iommufd_cdev_map; in vfio_iommu_iommufd_class_init()796 vioc->dma_unmap = iommufd_cdev_unmap; in vfio_iommu_iommufd_class_init()797 vioc->attach_device = iommufd_cdev_attach; in vfio_iommu_iommufd_class_init()798 vioc->detach_device = iommufd_cdev_detach; in vfio_iommu_iommufd_class_init()799 vioc->pci_hot_reset = iommufd_cdev_pci_hot_reset; in vfio_iommu_iommufd_class_init()800 vioc->set_dirty_page_tracking = iommufd_set_dirty_page_tracking; in vfio_iommu_iommufd_class_init()801 vioc->query_dirty_bitmap = iommufd_query_dirty_bitmap; in vfio_iommu_iommufd_class_init()
541 VFIOIOMMUClass *vioc = VFIO_IOMMU_CLASS(klass); in vfio_iommu_spapr_class_init() local543 vioc->add_window = vfio_spapr_container_add_section_window; in vfio_iommu_spapr_class_init()544 vioc->del_window = vfio_spapr_container_del_section_window; in vfio_iommu_spapr_class_init()545 vioc->release = vfio_spapr_container_release; in vfio_iommu_spapr_class_init()546 vioc->setup = vfio_spapr_container_setup; in vfio_iommu_spapr_class_init()
2514 const VFIOIOMMUClass *vioc = VFIO_IOMMU_GET_CLASS(vbasedev->bcontainer); in vfio_pci_hot_reset() local2516 return vioc->pci_hot_reset(vbasedev, single); in vfio_pci_hot_reset()