Home
last modified time | relevance | path

Searched refs:VFIOContainerBase (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/hw/vfio/
H A Dvfio-container-base.h29 QLIST_HEAD(, VFIOContainerBase) containers;
36 typedef struct VFIOContainerBase { struct
49 QLIST_ENTRY(VFIOContainerBase) next; argument
53 } VFIOContainerBase; typedef
56 VFIOContainerBase *bcontainer;
64 VFIOContainerBase *bcontainer;
73 int vfio_container_dma_map(VFIOContainerBase *bcontainer,
113 int (*dma_map)(const VFIOContainerBase *bcontainer,
158 bool (*add_window)(VFIOContainerBase *bcontainer,
161 void (*del_window)(VFIOContainerBase *bcontainer,
[all …]
H A Dvfio-common.h81 VFIOContainerBase bcontainer;
106 VFIOContainerBase bcontainer;
121 VFIOContainerBase *bcontainer;
227 VFIOContainerBase *bcontainer);
256 bool vfio_cpr_register_container(VFIOContainerBase *bcontainer, Error **errp);
257 void vfio_cpr_unregister_container(VFIOContainerBase *bcontainer);
297 vfio_devices_all_running_and_mig_active(const VFIOContainerBase *bcontainer);
299 vfio_devices_all_device_dirty_tracking(const VFIOContainerBase *bcontainer);
300 int vfio_devices_query_dirty_bitmap(const VFIOContainerBase *bcontainer,
302 int vfio_get_dirty_bitmap(const VFIOContainerBase *bcontainer, uint64_t iova,
/openbmc/qemu/hw/vfio/
H A Dcontainer-base.c18 int vfio_container_dma_map(VFIOContainerBase *bcontainer, in vfio_container_dma_map()
28 int vfio_container_dma_unmap(VFIOContainerBase *bcontainer, in vfio_container_dma_unmap()
38 bool vfio_container_add_section_window(VFIOContainerBase *bcontainer, in vfio_container_add_section_window()
51 void vfio_container_del_section_window(VFIOContainerBase *bcontainer, in vfio_container_del_section_window()
63 int vfio_container_set_dirty_page_tracking(VFIOContainerBase *bcontainer, in vfio_container_set_dirty_page_tracking()
76 int vfio_container_query_dirty_bitmap(const VFIOContainerBase *bcontainer, in vfio_container_query_dirty_bitmap()
95 GList *vfio_container_get_iova_ranges(const VFIOContainerBase *bcontainer) in vfio_container_get_iova_ranges()
103 VFIOContainerBase *bcontainer = VFIO_IOMMU(obj); in vfio_container_instance_finalize()
120 VFIOContainerBase *bcontainer = VFIO_IOMMU(obj); in vfio_container_instance_init()
136 .instance_size = sizeof(VFIOContainerBase),
H A Dcommon.c291 VFIOContainerBase *bcontainer = giommu->bcontainer; in vfio_iommu_map_notify()
352 VFIOContainerBase *bcontainer = vrdl->bcontainer; in vfio_ram_discard_notify_discard()
370 VFIOContainerBase *bcontainer = vrdl->bcontainer; in vfio_ram_discard_notify_populate()
570 VFIOContainerBase *bcontainer = container_of(listener, VFIOContainerBase, in vfio_listener_region_add()
717 VFIOContainerBase *bcontainer = container_of(listener, VFIOContainerBase, in vfio_listener_region_del()
811 VFIOContainerBase *bcontainer;
1070 VFIOContainerBase *bcontainer = container_of(listener, VFIOContainerBase, in vfio_listener_log_global_start()
1088 VFIOContainerBase *bcontainer = container_of(listener, VFIOContainerBase, in vfio_listener_log_global_stop()
1211 VFIOContainerBase *bcontainer = giommu->bcontainer; in vfio_iommu_map_dirty_notify()
1367 VFIOContainerBase *bcontainer = container_of(listener, VFIOContainerBase, in vfio_listener_log_sync()
[all …]
H A Dcpr.c28 bool vfio_cpr_register_container(VFIOContainerBase *bcontainer, Error **errp) in vfio_cpr_register_container()
36 void vfio_cpr_unregister_container(VFIOContainerBase *bcontainer) in vfio_cpr_unregister_container()
H A Dspapr.c58 VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_prereg_listener_region_add()
240 VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_spapr_create_window()
329 vfio_spapr_container_add_section_window(VFIOContainerBase *bcontainer, in vfio_spapr_container_add_section_window()
422 vfio_spapr_container_del_section_window(VFIOContainerBase *bcontainer, in vfio_spapr_container_del_section_window()
445 static void vfio_spapr_container_release(VFIOContainerBase *bcontainer) in vfio_spapr_container_release()
463 static bool vfio_spapr_container_setup(VFIOContainerBase *bcontainer, in vfio_spapr_container_setup()
H A Dcontainer.c66 const VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_dma_unmap_bitmap()
118 static int vfio_legacy_dma_unmap(const VFIOContainerBase *bcontainer, in vfio_legacy_dma_unmap()
178 static int vfio_legacy_dma_map(const VFIOContainerBase *bcontainer, hwaddr iova, in vfio_legacy_dma_map()
212 vfio_legacy_set_dirty_page_tracking(const VFIOContainerBase *bcontainer, in vfio_legacy_set_dirty_page_tracking()
238 static int vfio_legacy_query_dirty_bitmap(const VFIOContainerBase *bcontainer, in vfio_legacy_query_dirty_bitmap()
310 VFIOContainerBase *bcontainer) in vfio_get_info_iova_range()
490 VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_get_iommu_info_migration()
511 static bool vfio_legacy_setup(VFIOContainerBase *bcontainer, Error **errp) in vfio_legacy_setup()
544 VFIOContainerBase *bcontainer; in vfio_connect_container()
686 VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_disconnect_container()
[all …]
H A Diommufd.c30 static int iommufd_cdev_map(const VFIOContainerBase *bcontainer, hwaddr iova, in iommufd_cdev_map()
41 static int iommufd_cdev_unmap(const VFIOContainerBase *bcontainer, in iommufd_cdev_unmap()
119 static int iommufd_set_dirty_page_tracking(const VFIOContainerBase *bcontainer, in iommufd_set_dirty_page_tracking()
150 static int iommufd_query_dirty_bitmap(const VFIOContainerBase *bcontainer, in iommufd_query_dirty_bitmap()
402 VFIOContainerBase *bcontainer = &container->bcontainer; in iommufd_cdev_container_destroy()
423 VFIOContainerBase *bcontainer = &container->bcontainer; in iommufd_cdev_get_info_iova_range()
465 VFIOContainerBase *bcontainer; in iommufd_cdev_attach()
617 VFIOContainerBase *bcontainer = vbasedev->bcontainer; in iommufd_cdev_detach()
/openbmc/qemu/hw/ppc/
H A Dspapr_pci_vfio.c89 VFIOContainerBase *bcontainer = NULL; in vfio_eeh_as_container()
/openbmc/qemu/docs/devel/
H A Dvfio-iommufd.rst33 | VFIOContainerBase list |