Home
last modified time | relevance | path

Searched refs:virtvdev (Results 1 – 4 of 4) sorted by relevance

/drivers/vfio/pci/virtio/
A Dlegacy_io.c37 mutex_lock(&virtvdev->bar_mutex); in virtiovf_issue_legacy_rw_cmd()
63 mutex_unlock(&virtvdev->bar_mutex); in virtiovf_issue_legacy_rw_cmd()
97 virtvdev->notify_addr); in virtiovf_pci_bar0_rw()
111 virtvdev->notify_addr); in virtiovf_pci_bar0_rw()
241 sizeof(virtvdev->pci_cmd), in virtiovf_pci_write_config()
331 virtvdev->notify_bar); in virtiovf_set_notify_addr()
335 virtvdev->notify_addr = core_device->barmap[virtvdev->notify_bar] + in virtiovf_set_notify_addr()
336 virtvdev->notify_offset; in virtiovf_set_notify_addr()
371 virtvdev->notify_bar = bar; in virtiovf_read_notify_info()
402 virtvdev->bar0_virtual_buf = kzalloc(virtvdev->bar0_virtual_buf_size, in virtiovf_init_legacy_io()
[all …]
A Dmigrate.c237 if (virtvdev->resuming_migf) { in virtiovf_disable_fds()
243 if (virtvdev->saving_migf) { in virtiovf_disable_fds()
247 virtvdev->saving_migf = NULL; in virtiovf_disable_fds()
274 if (!virtvdev->migrate_cap) in virtiovf_migration_reset_done()
443 struct virtiovf_pci_core_device *virtvdev = migf->virtvdev; in virtiovf_precopy_ioctl() local
697 migf->virtvdev = virtvdev; in virtiovf_pci_save_device_data()
1106 migf->virtvdev = virtvdev; in virtiovf_pci_resume_device_data()
1276 obj_id_exists = virtvdev->saving_migf && virtvdev->saving_migf->has_obj_id; in virtiovf_pci_get_data_size()
1313 virtvdev->migrate_cap = 1; in virtiovf_set_migratable()
1325 if (!virtvdev->migrate_cap) in virtiovf_open_migration()
[all …]
A Dmain.c33 ret = virtiovf_open_legacy_io(virtvdev); in virtiovf_pci_open_device()
40 virtiovf_open_migration(virtvdev); in virtiovf_pci_open_device()
50 virtiovf_close_migration(virtvdev); in virtiovf_pci_close_device()
69 return virtiovf_init_legacy_io(virtvdev); in virtiovf_pci_init_device()
79 virtiovf_release_legacy_io(virtvdev); in virtiovf_pci_core_release_dev()
150 struct virtiovf_pci_core_device *virtvdev; in virtiovf_pci_probe() local
168 if (IS_ERR(virtvdev)) in virtiovf_pci_probe()
169 return PTR_ERR(virtvdev); in virtiovf_pci_probe()
172 virtiovf_set_migratable(virtvdev); in virtiovf_pci_probe()
180 vfio_put_device(&virtvdev->core_device.vdev); in virtiovf_pci_probe()
[all …]
A Dcommon.h76 struct virtiovf_pci_core_device *virtvdev; member
105 void virtiovf_set_migratable(struct virtiovf_pci_core_device *virtvdev);
106 void virtiovf_open_migration(struct virtiovf_pci_core_device *virtvdev);
107 void virtiovf_close_migration(struct virtiovf_pci_core_device *virtvdev);
111 int virtiovf_open_legacy_io(struct virtiovf_pci_core_device *virtvdev);
122 int virtiovf_init_legacy_io(struct virtiovf_pci_core_device *virtvdev);
123 void virtiovf_release_legacy_io(struct virtiovf_pci_core_device *virtvdev);

Completed in 14 milliseconds