Home
last modified time | relevance | path

Searched refs:mig_ops (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/vfio/
Dvfio_main.c850 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()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.h191 const struct vfio_migration_ops *mig_ops,
Dcmd.c201 const struct vfio_migration_ops *mig_ops, in mlx5vf_cmd_set_migratable() argument
247 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable()
/linux-6.6.21/drivers/vfio/pci/pds/
Dvfio_dev.c162 vdev->mig_ops = &pds_vfio_lm_ops; in pds_vfio_init_device()
/linux-6.6.21/include/linux/
Dvfio.h44 const struct vfio_migration_ops *mig_ops; member
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c2200 if (vdev->vdev.mig_ops) { in vfio_pci_core_register_device()
2201 if (!(vdev->vdev.mig_ops->migration_get_state && in vfio_pci_core_register_device()
2202 vdev->vdev.mig_ops->migration_set_state && in vfio_pci_core_register_device()
2203 vdev->vdev.mig_ops->migration_get_data_size) || in vfio_pci_core_register_device()
/linux-6.6.21/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c1316 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()