Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/qat/
H A Dmain.c54 struct qat_vf_migration_file *resuming_migf; member
93 if (qat_vdev->resuming_migf) { in qat_vf_disable_fds()
94 qat_vf_disable_fd(qat_vdev->resuming_migf); in qat_vf_disable_fds()
95 fput(qat_vdev->resuming_migf->filp); in qat_vf_disable_fds()
96 qat_vdev->resuming_migf = NULL; in qat_vf_disable_fds()
429 qat_vdev->resuming_migf = migf; in qat_vf_pci_step_device_state()
/linux/drivers/vfio/pci/virtio/
H A Dmigrate.c236 if (virtvdev->resuming_migf) { in virtiovf_disable_fds()
237 virtiovf_disable_fd(virtvdev->resuming_migf); in virtiovf_disable_fds()
238 virtiovf_clean_migf_resources(virtvdev->resuming_migf); in virtiovf_disable_fds()
239 fput(virtvdev->resuming_migf->filp); in virtiovf_disable_fds()
240 virtvdev->resuming_migf = NULL; in virtiovf_disable_fds()
1186 virtvdev->resuming_migf = migf; in virtiovf_pci_step_device_state_locked()
H A Dcommon.h101 struct virtiovf_migration_file *resuming_migf; member
/linux/drivers/vfio/pci/mlx5/
H A Dmain.c1047 if (mvdev->resuming_migf) { in mlx5vf_disable_fds()
1048 mlx5vf_disable_fd(mvdev->resuming_migf); in mlx5vf_disable_fds()
1049 mlx5fv_cmd_clean_migf_resources(mvdev->resuming_migf); in mlx5vf_disable_fds()
1050 fput(mvdev->resuming_migf->filp); in mlx5vf_disable_fds()
1051 mvdev->resuming_migf = NULL; in mlx5vf_disable_fds()
1156 mvdev->resuming_migf = migf; in mlx5vf_pci_step_device_state_locked()
H A Dcmd.h183 struct mlx5_vf_migration_file *resuming_migf; member
/linux/samples/vfio-mdev/
H A Dmtty.c172 struct mtty_migration_file *resuming_migf; member
800 if (mdev_state->resuming_migf) { in mtty_disable_files()
801 mtty_disable_file(mdev_state->resuming_migf); in mtty_disable_files()
802 fput(mdev_state->resuming_migf->filp); in mtty_disable_files()
803 mdev_state->resuming_migf = NULL; in mtty_disable_files()
950 struct mtty_migration_file *migf = mdev_state->resuming_migf; in mtty_load_state()
1108 mdev_state->resuming_migf = migf; in mtty_resume_device_data()
/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c713 if (hisi_acc_vdev->resuming_migf) { in hisi_acc_vf_disable_fds()
714 hisi_acc_debug_migf_copy(hisi_acc_vdev, hisi_acc_vdev->resuming_migf); in hisi_acc_vf_disable_fds()
715 hisi_acc_vf_disable_fd(hisi_acc_vdev->resuming_migf); in hisi_acc_vf_disable_fds()
716 fput(hisi_acc_vdev->resuming_migf->filp); in hisi_acc_vf_disable_fds()
717 hisi_acc_vdev->resuming_migf = NULL; in hisi_acc_vf_disable_fds()
757 struct hisi_acc_vf_migration_file *migf = hisi_acc_vdev->resuming_migf; in hisi_acc_vf_load_state()
1109 hisi_acc_vdev->resuming_migf = migf; in hisi_acc_vf_set_device_state()