Home
last modified time | relevance | path

Searched refs:buf_header (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vfio/pci/mlx5/
H A Dmain.c129 migf->buf_header[chunk_num - 1] = vhca_buf; in mlx5vf_buf_read_done()
453 migf->buf_header[i] = buf; in mlx5vf_prep_stop_copy()
456 migf->buf_header[i]->stop_copy_chunk_num = i + 1; in mlx5vf_prep_stop_copy()
474 if (migf->buf_header[i]) { in mlx5vf_prep_stop_copy()
475 mlx5vf_put_data_buffer(migf->buf_header[i]); in mlx5vf_prep_stop_copy()
476 migf->buf_header[i] = NULL; in mlx5vf_prep_stop_copy()
888 struct mlx5_vhca_data_buffer *vhca_buf_header = migf->buf_header[0]; in mlx5vf_resume_write()
923 migf->buf_header[0] = mlx5vf_alloc_data_buffer(migf, in mlx5vf_resume_write()
925 if (IS_ERR(migf->buf_header[0])) { in mlx5vf_resume_write()
926 ret = PTR_ERR(migf->buf_header[0]); in mlx5vf_resume_write()
[all …]
H A Dcmd.h107 struct mlx5_vhca_data_buffer *buf_header[MAX_NUM_CHUNKS]; member
H A Dcmd.c736 header_buf = migf->buf_header[header_idx]; in mlx5vf_cmd_save_vhca_state()
737 migf->buf_header[header_idx] = NULL; in mlx5vf_cmd_save_vhca_state()
836 if (migf->buf_header[i]) { in mlx5fv_cmd_clean_migf_resources()
837 mlx5vf_free_data_buffer(migf->buf_header[i]); in mlx5fv_cmd_clean_migf_resources()
838 migf->buf_header[i] = NULL; in mlx5fv_cmd_clean_migf_resources()