Lines Matching refs:header_buf
312 struct mlx5_vhca_data_buffer *header_buf = NULL; in mlx5vf_add_stop_copy_header() local
319 header_buf = mlx5vf_get_data_buffer(migf, size, DMA_NONE); in mlx5vf_add_stop_copy_header()
320 if (IS_ERR(header_buf)) in mlx5vf_add_stop_copy_header()
321 return PTR_ERR(header_buf); in mlx5vf_add_stop_copy_header()
326 page = mlx5vf_get_migration_page(header_buf, 0); in mlx5vf_add_stop_copy_header()
333 header_buf->length = sizeof(header); in mlx5vf_add_stop_copy_header()
336 header_buf->length += sizeof(data); in mlx5vf_add_stop_copy_header()
338 header_buf->start_pos = header_buf->migf->max_pos; in mlx5vf_add_stop_copy_header()
339 migf->max_pos += header_buf->length; in mlx5vf_add_stop_copy_header()
341 list_add_tail(&header_buf->buf_elm, &migf->buf_list); in mlx5vf_add_stop_copy_header()
346 mlx5vf_put_data_buffer(header_buf); in mlx5vf_add_stop_copy_header()