Searched refs:saving_migf (Results 1 – 7 of 7) 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()
594 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_pci_save_device_inc_data()1070 if (mvdev->saving_migf) { in mlx5vf_disable_fds()1071 mlx5_cmd_cleanup_async_ctx(&mvdev->saving_migf->async_ctx); in mlx5vf_disable_fds()1072 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_disable_fds()1074 *last_save_state = mvdev->saving_migf->state; in mlx5vf_disable_fds()1075 mlx5vf_disable_fd(mvdev->saving_migf); in mlx5vf_disable_fds()1076 wake_up_interruptible(&mvdev->saving_migf->poll_wait); in mlx5vf_disable_fds()1077 mlx5fv_cmd_clean_migf_resources(mvdev->saving_migf); in mlx5vf_disable_fds()1078 fput(mvdev->saving_migf->filp); in mlx5vf_disable_fds()1079 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()
186 struct mlx5_vf_migration_file *saving_migf; member
626 if (hisi_acc_vdev->saving_migf) { in hisi_acc_vf_disable_fds()627 hisi_acc_vf_disable_fd(hisi_acc_vdev->saving_migf); in hisi_acc_vf_disable_fds()628 fput(hisi_acc_vdev->saving_migf->filp); in hisi_acc_vf_disable_fds()629 hisi_acc_vdev->saving_migf = NULL; in hisi_acc_vf_disable_fds()909 migf = hisi_acc_vdev->saving_migf; in hisi_acc_vf_stop_copy()953 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()985 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()
113 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()