Home
last modified time | relevance | path

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

/drivers/vfio/pci/mlx5/
A Dmain.c51 kfree(migf); in mlx5vf_release_file()
90 struct mlx5_vf_migration_file *migf = vhca_buf->migf; in mlx5vf_buf_read_done() local
270 migf->save_data[chunk_num - 1].migf = migf; in mlx5vf_mig_file_set_save_work()
304 struct mlx5_vf_migration_file *migf = save_data->migf; in mlx5vf_mig_file_save_work() local
420 migf, in mlx5vf_prep_stop_copy()
611 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in mlx5vf_pci_save_device_data()
624 stream_open(migf->filp->f_inode, migf->filp); in mlx5vf_pci_save_device_data()
783 migf->max_pos += migf->record_size; in mlx5vf_resume_read_header_data()
992 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in mlx5vf_pci_resume_device_data()
1004 stream_open(migf->filp->f_inode, migf->filp); in mlx5vf_pci_resume_device_data()
[all …]
A Dcmd.c55 if (migf) { in mlx5vf_cmd_suspend_vhca()
66 if (migf) in mlx5vf_cmd_suspend_vhca()
533 buf->migf = migf; in mlx5vf_alloc_data_buffer()
611 fput(migf->filp); in mlx5vf_save_callback_complete()
640 struct mlx5_vf_migration_file *migf = header_buf->migf; in add_buf_header() local
797 migf, in mlx5vf_cmd_save_vhca_state()
824 fput(migf->filp); in mlx5vf_cmd_save_vhca_state()
867 err = mlx5_core_alloc_pd(migf->mvdev->mdev, &migf->pdn); in mlx5vf_cmd_alloc_pd()
877 mlx5_core_dealloc_pd(migf->mvdev->mdev, migf->pdn); in mlx5vf_cmd_dealloc_pd()
889 if (migf->buf[i]) { in mlx5fv_cmd_clean_migf_resources()
[all …]
A Dcmd.h66 struct mlx5_vf_migration_file *migf; member
80 struct mlx5_vf_migration_file *migf; member
208 struct mlx5_vf_migration_file *migf,
212 struct mlx5_vf_migration_file *migf,
214 int mlx5vf_cmd_alloc_pd(struct mlx5_vf_migration_file *migf);
215 void mlx5vf_cmd_dealloc_pd(struct mlx5_vf_migration_file *migf);
216 void mlx5fv_cmd_clean_migf_resources(struct mlx5_vf_migration_file *migf);
218 mlx5vf_alloc_data_buffer(struct mlx5_vf_migration_file *migf, u32 npages,
222 mlx5vf_get_data_buffer(struct mlx5_vf_migration_file *migf, u32 npages,
240 void mlx5vf_mig_file_set_save_work(struct mlx5_vf_migration_file *migf,
/drivers/vfio/pci/virtio/
A Dmigrate.c137 buf->migf = migf; in virtiovf_alloc_data_buffer()
215 list_splice(&migf->avail_list, &migf->buf_list); in virtiovf_clean_migf_resources()
224 virtiovf_pci_free_obj_id(migf->virtvdev, migf->obj_id); in virtiovf_clean_migf_resources()
680 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in virtiovf_pci_save_device_data()
681 if (!migf) in virtiovf_pci_save_device_data()
692 stream_open(migf->filp->f_inode, migf->filp); in virtiovf_pci_save_device_data()
725 migf->pre_copy_initial_bytes = migf->max_pos; in virtiovf_pci_save_device_data()
866 migf->max_pos += migf->record_size; in virtiovf_resume_read_header_data()
1070 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in virtiovf_pci_resume_device_data()
1071 if (!migf) in virtiovf_pci_resume_device_data()
[all …]
A Dcommon.h33 struct virtiovf_migration_file *migf; member
/drivers/vfio/pci/qat/
A Dmain.c212 kfree(migf); in qat_vf_release_file()
264 migf = kzalloc(sizeof(*migf), GFP_KERNEL); in qat_vf_save_device_data()
265 if (!migf) in qat_vf_save_device_data()
272 kfree(migf); in qat_vf_save_device_data()
276 stream_open(migf->filp->f_inode, migf->filp); in qat_vf_save_device_data()
290 return migf; in qat_vf_save_device_data()
355 migf = kzalloc(sizeof(*migf), GFP_KERNEL); in qat_vf_resume_device_data()
356 if (!migf) in qat_vf_resume_device_data()
368 stream_open(migf->filp->f_inode, migf->filp); in qat_vf_resume_device_data()
371 return migf; in qat_vf_resume_device_data()
[all …]
/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c757 kfree(migf); in hisi_acc_vf_release_file()
796 ret = vf_qm_check_match(migf->hisi_acc_vdev, migf); in hisi_acc_vf_resume_write()
815 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in hisi_acc_vf_pci_resume()
816 if (!migf) in hisi_acc_vf_pci_resume()
828 stream_open(migf->filp->f_inode, migf->filp); in hisi_acc_vf_pci_resume()
831 return migf; in hisi_acc_vf_pci_resume()
937 migf = kzalloc(sizeof(*migf), GFP_KERNEL_ACCOUNT); in hisi_acc_open_saving_migf()
938 if (!migf) in hisi_acc_open_saving_migf()
950 stream_open(migf->filp->f_inode, migf->filp); in hisi_acc_open_saving_migf()
1614 migf = kzalloc(sizeof(*migf), GFP_KERNEL); in hisi_acc_vfio_debug_init()
[all …]

Completed in 33 milliseconds