Searched refs:saving_migf (Results 1 – 8 of 8) sorted by relevance
55 struct qat_vf_migration_file *saving_migf; member 99 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() 413 qat_vdev->saving_migf = migf; in qat_vf_pci_step_device_state() 443 qat_vdev->saving_migf = migf; in qat_vf_pci_step_device_state() 448 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() 1077 if (mvdev->saving_migf) { in mlx5vf_pci_step_device_state_locked() 1078 mlx5_cmd_cleanup_async_ctx(&mvdev->saving_migf->async_ctx); in mlx5vf_pci_step_device_state_locked() 1079 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_pci_step_device_state_locked() 1081 *last_save_state = mvdev->saving_migf->state; in mlx5vf_pci_step_device_state_locked() 1082 mlx5vf_disable_fd(mvdev->saving_migf); in mlx5vf_pci_step_device_state_locked() 1083 wake_up_interruptible(&mvdev->saving_migf->poll_wait); in mlx5vf_pci_step_device_state_locked() 1084 mlx5fv_cmd_clean_migf_resources(mvdev->saving_migf); in mlx5vf_pci_step_device_state_locked() 1085 fput(mvdev->saving_migf->filp); in mlx5vf_pci_step_device_state_locked() 1086 mvdev->saving_migf in mlx5vf_pci_step_device_state_locked() [all...]
40 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_cmd_suspend_vhca() 50 * In case PRE_COPY is used, saving_migf is exposed while the device is in mlx5vf_cmd_suspend_vhca() 102 * In case PRE_COPY is used, saving_migf is exposed while device is in mlx5vf_cmd_query_vhca_migration_state() 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()
188 struct mlx5_vf_migration_file *saving_migf;184 struct mlx5_vf_migration_file *saving_migf; global() 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() 634 struct virtiovf_migration_file *migf = virtvdev->saving_migf; in virtiovf_read_device_context_chunk() 1163 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked() 1199 virtvdev->saving_migf = migf; in virtiovf_pci_step_device_state_locked() 1270 obj_id_exists = virtvdev->saving_migf && virtvdev->saving_migf in virtiovf_pci_get_data_size() [all...]
102 struct virtiovf_migration_file *saving_migf; member
174 struct mtty_migration_file *saving_migf;797 if (mdev_state->saving_migf) { in mtty_disable_files() 798 mtty_disable_file(mdev_state->saving_migf); in mtty_disable_files() 799 fput(mdev_state->saving_migf->filp); in mtty_disable_files() 800 mdev_state->saving_migf = NULL; in mtty_disable_files() 931 struct mtty_migration_file *migf = mdev_state->saving_migf;972 struct mtty_migration_file *migf = mdev_state->saving_migf; in mtty_save_device_data() 1008 ret = mdev_state->saving_migf = migf; in mtty_save_device_data() 171 struct mtty_migration_file *saving_migf; global() 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() 998 * Userspace didn't use PRECOPY support. Hence saving_migf in hisi_acc_vf_stop_copy() 1005 migf = hisi_acc_vdev->saving_migf; in hisi_acc_vf_stop_copy() 1056 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state() 1088 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()