Searched refs:mig_ops (Results 1 – 7 of 7) sorted by relevance
850 if (!device->mig_ops) in vfio_ioctl_device_feature_mig_device_state()866 ret = device->mig_ops->migration_get_state(device, in vfio_ioctl_device_feature_mig_device_state()875 filp = device->mig_ops->migration_set_state(device, mig.device_state); in vfio_ioctl_device_feature_mig_device_state()898 if (!device->mig_ops) in vfio_ioctl_device_feature_migration_data_size()906 ret = device->mig_ops->migration_get_data_size(device, &stop_copy_length); in vfio_ioctl_device_feature_migration_data_size()926 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()
162 vdev->mig_ops = &pds_vfio_lm_ops; in pds_vfio_init_device()
44 const struct vfio_migration_ops *mig_ops; member
2220 if (vdev->vdev.mig_ops) { in vfio_pci_core_register_device()2221 if (!(vdev->vdev.mig_ops->migration_get_state && in vfio_pci_core_register_device()2222 vdev->vdev.mig_ops->migration_set_state && in vfio_pci_core_register_device()2223 vdev->vdev.mig_ops->migration_get_data_size) || in vfio_pci_core_register_device()
1316 if (core_vdev->mig_ops) { in hisi_acc_vfio_pci_open_device()1358 core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops; in hisi_acc_vfio_pci_migrn_init_dev()