Home
last modified time | relevance | path

Searched refs:saving_migf (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/vfio/pci/mlx5/
Dmain.c500 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_pci_save_device_inc_data()
1018 if (mvdev->saving_migf) { in mlx5vf_disable_fds()
1019 mlx5_cmd_cleanup_async_ctx(&mvdev->saving_migf->async_ctx); in mlx5vf_disable_fds()
1020 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_disable_fds()
1021 mlx5vf_disable_fd(mvdev->saving_migf); in mlx5vf_disable_fds()
1022 mlx5fv_cmd_clean_migf_resources(mvdev->saving_migf); in mlx5vf_disable_fds()
1023 fput(mvdev->saving_migf->filp); in mlx5vf_disable_fds()
1024 mvdev->saving_migf = NULL; in mlx5vf_disable_fds()
1076 mvdev->saving_migf = migf; in mlx5vf_pci_step_device_state_locked()
1120 mvdev->saving_migf = migf; in mlx5vf_pci_step_device_state_locked()
Dcmd.h174 struct mlx5_vf_migration_file *saving_migf; member
Dcmd.c40 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_cmd_suspend_vhca()
107 ret = wait_for_completion_interruptible(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()
110 if (mvdev->saving_migf->state == in mlx5vf_cmd_query_vhca_migration_state()
118 complete(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()
135 complete(&mvdev->saving_migf->save_comp); in mlx5vf_cmd_query_vhca_migration_state()
/Linux-v6.6/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c626 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()
920 migf = hisi_acc_vdev->saving_migf; in hisi_acc_vf_stop_copy()
964 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()
996 hisi_acc_vdev->saving_migf = migf; in hisi_acc_vf_set_device_state()
Dhisi_acc_vfio_pci.h115 struct hisi_acc_vf_migration_file *saving_migf; member