Home
last modified time | relevance | path

Searched refs:migf (Results 1 – 2 of 2) sorted by relevance

/linux/samples/vfio-mdev/
H A Dmtty.c786 static void mtty_disable_file(struct mtty_migration_file *migf) in mtty_disable_file()
788 mutex_lock(&migf->lock); in mtty_disable_file()
789 migf->disabled = true; in mtty_disable_file()
790 migf->filled_size = 0; in mtty_disable_file()
791 migf->filp->f_pos = 0;
792 mutex_unlock(&migf->lock); in mtty_disable_files()
827 struct mtty_migration_file *migf = filp->private_data; in mtty_release_migf()
829 mtty_disable_file(migf); in mtty_release_migf()
830 mutex_destroy(&migf->lock); in mtty_release_migf()
831 kfree(migf); in mtty_release_migf()
783 mtty_disable_file(struct mtty_migration_file * migf) mtty_disable_file() argument
824 struct mtty_migration_file *migf = filp->private_data; mtty_release_migf() local
836 struct mtty_migration_file *migf = filp->private_data; mtty_precopy_ioctl() local
887 struct mtty_migration_file *migf = filp->private_data; mtty_save_read() local
934 struct mtty_migration_file *migf = mdev_state->saving_migf; mtty_save_state() local
950 struct mtty_migration_file *migf = mdev_state->resuming_migf; mtty_load_state() local
975 struct mtty_migration_file *migf = mdev_state->saving_migf; mtty_save_device_data() local
1023 struct mtty_migration_file *migf = filp->private_data; mtty_resume_write() local
1089 struct mtty_migration_file *migf; mtty_resume_device_data() local
1192 struct mtty_migration_file *migf; mtty_step_state() local
1208 struct mtty_migration_file *migf; mtty_step_state() local
[all...]
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h67 struct mlx5_vf_migration_file *migf; member
81 struct mlx5_vf_migration_file *migf; member
215 struct mlx5_vf_migration_file *migf,
219 struct mlx5_vf_migration_file *migf,
221 int mlx5vf_cmd_alloc_pd(struct mlx5_vf_migration_file *migf);
222 void mlx5vf_cmd_dealloc_pd(struct mlx5_vf_migration_file *migf);
223 void mlx5fv_cmd_clean_migf_resources(struct mlx5_vf_migration_file *migf);
225 mlx5vf_alloc_data_buffer(struct mlx5_vf_migration_file *migf, u32 npages,
229 mlx5vf_get_data_buffer(struct mlx5_vf_migration_file *migf, u32 npages,
247 void mlx5vf_mig_file_set_save_work(struct mlx5_vf_migration_file *migf,