Searched refs:mig_ops (Results 1 – 6 of 6) sorted by relevance
779 if (!device->mig_ops) in vfio_ioctl_device_feature_mig_device_state()795 ret = device->mig_ops->migration_get_state(device, in vfio_ioctl_device_feature_mig_device_state()804 filp = device->mig_ops->migration_set_state(device, mig.device_state); in vfio_ioctl_device_feature_mig_device_state()827 if (!device->mig_ops) in vfio_ioctl_device_feature_migration_data_size()835 ret = device->mig_ops->migration_get_data_size(device, &stop_copy_length); in vfio_ioctl_device_feature_migration_data_size()855 if (!device->mig_ops) in vfio_ioctl_device_feature_migration()
191 const struct vfio_migration_ops *mig_ops,
201 const struct vfio_migration_ops *mig_ops, in mlx5vf_cmd_set_migratable() argument247 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable()
43 const struct vfio_migration_ops *mig_ops; member
2136 if (vdev->vdev.mig_ops) { in vfio_pci_core_register_device()2137 if (!(vdev->vdev.mig_ops->migration_get_state && in vfio_pci_core_register_device()2138 vdev->vdev.mig_ops->migration_set_state && in vfio_pci_core_register_device()2139 vdev->vdev.mig_ops->migration_get_data_size) || in vfio_pci_core_register_device()
1313 if (core_vdev->mig_ops) { in hisi_acc_vfio_pci_open_device()1355 core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops; in hisi_acc_vfio_pci_migrn_init_dev()
Completed in 20 milliseconds