Searched refs:mig_ops (Results 1 – 10 of 10) sorted by relevance
25 ret = vdev->mig_ops->migration_get_state(vdev, &state); in vfio_device_state_read()68 if (vdev->mig_ops) { in vfio_device_debugfs_init()
896 if (!device->mig_ops) in vfio_ioctl_device_feature_mig_device_state()912 ret = device->mig_ops->migration_get_state(device, in vfio_ioctl_device_feature_mig_device_state()921 filp = device->mig_ops->migration_set_state(device, mig.device_state); in vfio_ioctl_device_feature_mig_device_state()944 if (!device->mig_ops) in vfio_ioctl_device_feature_migration_data_size()952 ret = device->mig_ops->migration_get_data_size(device, &stop_copy_length); in vfio_ioctl_device_feature_migration_data_size()972 if (!device->mig_ops) in vfio_ioctl_device_feature_migration()
137 vdev->mig_ops = &pds_vfio_lm_ops; in pds_vfio_init_device()
205 const struct vfio_migration_ops *mig_ops,
220 const struct vfio_migration_ops *mig_ops, in mlx5vf_cmd_set_migratable() argument272 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable()
44 const struct vfio_migration_ops *mig_ops; member
2137 if (vdev->vdev.mig_ops) { in vfio_pci_core_register_device()2138 if (!(vdev->vdev.mig_ops->migration_get_state && in vfio_pci_core_register_device()2139 vdev->vdev.mig_ops->migration_set_state && in vfio_pci_core_register_device()2140 vdev->vdev.mig_ops->migration_get_data_size) || in vfio_pci_core_register_device()
1290 if (core_vdev->mig_ops) { in hisi_acc_vfio_pci_open_device()1332 core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops; in hisi_acc_vfio_pci_migrn_init_dev()
569 core_vdev->mig_ops = &qat_vf_pci_mig_ops; in qat_vf_pci_init_dev()
1350 vdev->mig_ops = &mtty_migration_ops; in mtty_init_dev()