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()
594 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_pci_save_device_inc_data()1069 if (mvdev->saving_migf) { in mlx5vf_disable_fds()1071 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_disable_fds()1073 *last_save_state = mvdev->saving_migf->state; in mlx5vf_disable_fds()1074 mlx5vf_disable_fd(mvdev->saving_migf); in mlx5vf_disable_fds()1075 wake_up_interruptible(&mvdev->saving_migf->poll_wait); in mlx5vf_disable_fds()1076 mlx5fv_cmd_clean_migf_resources(mvdev->saving_migf); in mlx5vf_disable_fds()1077 fput(mvdev->saving_migf->filp); in mlx5vf_disable_fds()1078 mvdev->saving_migf = NULL; in mlx5vf_disable_fds()1130 mvdev->saving_migf = migf; in mlx5vf_pci_step_device_state_locked()[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
243 if (virtvdev->saving_migf) { in virtiovf_disable_fds()244 virtiovf_disable_fd(virtvdev->saving_migf); in virtiovf_disable_fds()245 virtiovf_clean_migf_resources(virtvdev->saving_migf); in virtiovf_disable_fds()246 fput(virtvdev->saving_migf->filp); in virtiovf_disable_fds()247 virtvdev->saving_migf = NULL; in virtiovf_disable_fds()640 struct virtiovf_migration_file *migf = virtvdev->saving_migf; in virtiovf_pci_save_device_final_data()1169 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked()1205 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked()1276 obj_id_exists = virtvdev->saving_migf && virtvdev->saving_migf->has_obj_id; in virtiovf_pci_get_data_size()1284 obj_id = virtvdev->saving_migf->obj_id; in virtiovf_pci_get_data_size()
102 struct virtiovf_migration_file *saving_migf; member
653 if (hisi_acc_vdev->saving_migf) { in hisi_acc_vf_disable_fds()654 hisi_acc_debug_migf_copy(hisi_acc_vdev, hisi_acc_vdev->saving_migf); in hisi_acc_vf_disable_fds()655 hisi_acc_vf_disable_fd(hisi_acc_vdev->saving_migf); in hisi_acc_vf_disable_fds()656 fput(hisi_acc_vdev->saving_migf->filp); in hisi_acc_vf_disable_fds()657 hisi_acc_vdev->saving_migf = NULL; in hisi_acc_vf_disable_fds()943 migf = hisi_acc_vdev->saving_migf; in hisi_acc_vf_stop_copy()987 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()1019 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()
126 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()