Searched refs:saving_migf (Results 1 – 9 of 9) sorted by relevance
55 struct qat_vf_migration_file *saving_migf; member99 if (qat_vdev->saving_migf) { in qat_vf_disable_fds()100 qat_vf_disable_fd(qat_vdev->saving_migf); in qat_vf_disable_fds()101 fput(qat_vdev->saving_migf->filp); in qat_vf_disable_fds()102 qat_vdev->saving_migf = NULL; in qat_vf_disable_fds()418 qat_vdev->saving_migf = migf; in qat_vf_pci_step_device_state()448 qat_vdev->saving_migf = migf; in qat_vf_pci_step_device_state()453 struct qat_vf_migration_file *migf = qat_vdev->saving_migf; in qat_vf_pci_step_device_state()
570 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_pci_save_device_inc_data()1053 if (mvdev->saving_migf) { in mlx5vf_disable_fds()1054 mlx5_cmd_cleanup_async_ctx(&mvdev->saving_migf->async_ctx); in mlx5vf_disable_fds()1055 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_disable_fds()1057 *last_save_state = mvdev->saving_migf->state; in mlx5vf_disable_fds()1058 mlx5vf_disable_fd(mvdev->saving_migf); in mlx5vf_disable_fds()1059 wake_up_interruptible(&mvdev->saving_migf->poll_wait); in mlx5vf_disable_fds()1060 mlx5fv_cmd_clean_migf_resources(mvdev->saving_migf); in mlx5vf_disable_fds()1061 fput(mvdev->saving_migf->filp); in mlx5vf_disable_fds()1062 mvdev->saving_migf = NULL; in mlx5vf_disable_fds()[all …]
40 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_cmd_suspend_vhca()108 ret = wait_for_completion_interruptible(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()112 if (mvdev->saving_migf->state == MLX5_MIGF_STATE_PRE_COPY_ERROR && in mlx5vf_cmd_query_vhca_migration_state()120 complete(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()126 if (mvdev->saving_migf->state == MLX5_MIGF_STATE_ERROR) { in mlx5vf_cmd_query_vhca_migration_state()127 complete(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()143 complete(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()
184 struct mlx5_vf_migration_file *saving_migf; member
242 if (virtvdev->saving_migf) { in virtiovf_disable_fds()243 virtiovf_disable_fd(virtvdev->saving_migf); in virtiovf_disable_fds()244 virtiovf_clean_migf_resources(virtvdev->saving_migf); in virtiovf_disable_fds()245 fput(virtvdev->saving_migf->filp); in virtiovf_disable_fds()246 virtvdev->saving_migf = NULL; in virtiovf_disable_fds()639 struct virtiovf_migration_file *migf = virtvdev->saving_migf; in virtiovf_pci_save_device_final_data()1168 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked()1204 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked()1275 obj_id_exists = virtvdev->saving_migf && virtvdev->saving_migf->has_obj_id; in virtiovf_pci_get_data_size()1283 obj_id = virtvdev->saving_migf->obj_id; in virtiovf_pci_get_data_size()
102 struct virtiovf_migration_file *saving_migf; member
720 if (hisi_acc_vdev->saving_migf) { in hisi_acc_vf_disable_fds()721 hisi_acc_debug_migf_copy(hisi_acc_vdev, hisi_acc_vdev->saving_migf); in hisi_acc_vf_disable_fds()722 hisi_acc_vf_disable_fd(hisi_acc_vdev->saving_migf); in hisi_acc_vf_disable_fds()723 fput(hisi_acc_vdev->saving_migf->filp); in hisi_acc_vf_disable_fds()724 hisi_acc_vdev->saving_migf = NULL; in hisi_acc_vf_disable_fds()1010 migf = hisi_acc_vdev->saving_migf; in hisi_acc_vf_stop_copy()1061 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()1093 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()
155 struct hisi_acc_vf_migration_file *saving_migf; member
171 struct mtty_migration_file *saving_migf; member794 if (mdev_state->saving_migf) { in mtty_disable_files()795 mtty_disable_file(mdev_state->saving_migf); in mtty_disable_files()796 fput(mdev_state->saving_migf->filp); in mtty_disable_files()797 mdev_state->saving_migf = NULL; in mtty_disable_files()934 struct mtty_migration_file *migf = mdev_state->saving_migf; in mtty_save_state()975 struct mtty_migration_file *migf = mdev_state->saving_migf; in mtty_save_device_data()1011 ret = mdev_state->saving_migf = migf; in mtty_save_device_data()