Searched refs:migf (Results 1 – 3 of 3) sorted by relevance
783 static void mtty_disable_file(struct mtty_migration_file *migf) in mtty_disable_file() argument 785 mutex_lock(&migf->lock); in mtty_disable_file() 786 migf->disabled = true; in mtty_disable_file() 787 migf->filled_size = 0; in mtty_disable_file() 788 migf->filp->f_pos = 0; in mtty_disable_file() 789 mutex_unlock(&migf->lock); in mtty_disable_file() 824 struct mtty_migration_file *migf = filp->private_data; in mtty_release_migf() local 826 mtty_disable_file(migf); in mtty_release_migf() 827 mutex_destroy(&migf->lock); in mtty_release_migf() 828 kfree(migf); in mtty_release_migf() 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 935 struct mtty_migration_file *migf = mdev_state->saving_migf; mtty_save_state() local 951 struct mtty_migration_file *migf = mdev_state->resuming_migf; mtty_load_state() local 976 struct mtty_migration_file *migf = mdev_state->saving_migf; mtty_save_device_data() local 1024 struct mtty_migration_file *migf = filp->private_data; mtty_resume_write() local 1091 struct mtty_migration_file *migf; mtty_resume_device_data() local 1194 struct mtty_migration_file *migf; mtty_step_state() local 1210 struct mtty_migration_file *migf; mtty_step_state() local [all...]
40 struct mlx5_vf_migration_file *migf = mvdev->saving_migf; in mlx5vf_cmd_suspend_vhca() local55 if (migf) { in mlx5vf_cmd_suspend_vhca()56 err = wait_for_completion_interruptible(&migf->save_comp); in mlx5vf_cmd_suspend_vhca()66 if (migf) in mlx5vf_cmd_suspend_vhca()67 complete(&migf->save_comp); in mlx5vf_cmd_suspend_vhca()370 struct mlx5vf_pci_core_device *mvdev = buf->migf->mvdev; in mlx5vf_dma_data_buffer()385 ret = _create_mkey(mdev, buf->migf->pdn, buf, NULL, &buf->mkey); in mlx5vf_dma_data_buffer()399 struct mlx5_vf_migration_file *migf = buf->migf; in mlx5vf_free_data_buffer() local402 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_free_data_buffer()403 WARN_ON(migf->mvdev->mdev_detach); in mlx5vf_free_data_buffer()[all …]
65 struct mlx5_vf_migration_file *migf; member83 struct mlx5_vf_migration_file *migf; member210 struct mlx5_vf_migration_file *migf,214 struct mlx5_vf_migration_file *migf,216 int mlx5vf_cmd_alloc_pd(struct mlx5_vf_migration_file *migf);217 void mlx5vf_cmd_dealloc_pd(struct mlx5_vf_migration_file *migf);218 void mlx5fv_cmd_clean_migf_resources(struct mlx5_vf_migration_file *migf);220 mlx5vf_alloc_data_buffer(struct mlx5_vf_migration_file *migf,224 mlx5vf_get_data_buffer(struct mlx5_vf_migration_file *migf,233 void mlx5vf_mig_file_set_save_work(struct mlx5_vf_migration_file *migf,