Home
last modified time | relevance | path

Searched refs:header_buf (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/vfio/pci/mlx5/
Dcmd.c565 if (async_data->header_buf) in mlx5vf_mig_file_cleanup_cb()
566 mlx5vf_put_data_buffer(async_data->header_buf); in mlx5vf_mig_file_cleanup_cb()
578 static int add_buf_header(struct mlx5_vhca_data_buffer *header_buf, in add_buf_header() argument
581 struct mlx5_vf_migration_file *migf = header_buf->migf; in add_buf_header()
590 page = mlx5vf_get_migration_page(header_buf, 0); in add_buf_header()
596 header_buf->length = sizeof(header); in add_buf_header()
597 header_buf->start_pos = header_buf->migf->max_pos; in add_buf_header()
598 migf->max_pos += header_buf->length; in add_buf_header()
600 list_add_tail(&header_buf->buf_elm, &migf->buf_list); in add_buf_header()
629 if (async_data->header_buf) { in mlx5vf_save_callback()
[all …]
Dmain.c369 struct mlx5_vhca_data_buffer *header_buf = NULL; in mlx5vf_add_stop_copy_header() local
376 header_buf = mlx5vf_get_data_buffer(migf, size, DMA_NONE); in mlx5vf_add_stop_copy_header()
377 if (IS_ERR(header_buf)) in mlx5vf_add_stop_copy_header()
378 return PTR_ERR(header_buf); in mlx5vf_add_stop_copy_header()
383 page = mlx5vf_get_migration_page(header_buf, 0); in mlx5vf_add_stop_copy_header()
390 header_buf->length = sizeof(header); in mlx5vf_add_stop_copy_header()
393 header_buf->length += sizeof(data); in mlx5vf_add_stop_copy_header()
395 header_buf->start_pos = header_buf->migf->max_pos; in mlx5vf_add_stop_copy_header()
396 migf->max_pos += header_buf->length; in mlx5vf_add_stop_copy_header()
398 list_add_tail(&header_buf->buf_elm, &migf->buf_list); in mlx5vf_add_stop_copy_header()
[all …]
Dcmd.h76 struct mlx5_vhca_data_buffer *header_buf; member
/linux-6.12.1/init/
Dinitramfs.c255 static __initdata char *header_buf, *symlink_buf, *name_buf; variable
259 read_into(header_buf, 110, GotHeader); in do_start()
492 header_buf = kmalloc(110, GFP_KERNEL); in unpack_to_rootfs()
496 if (!header_buf || !symlink_buf || !name_buf) in unpack_to_rootfs()
543 kfree(header_buf); in unpack_to_rootfs()
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_provider.h249 void *header_buf; member
Dmthca_qp.c1386 qp->sqp->header_buf = in mthca_alloc_sqp()
1389 if (!qp->sqp->header_buf) in mthca_alloc_sqp()
1430 qp->sqp->header_buf, qp->sqp->header_dma); in mthca_alloc_sqp()
1494 qp->sqp->header_buf, qp->sqp->header_dma); in mthca_free_qp()
1557 sqp->header_buf + in build_mlx_header()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dqp.c2934 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_sriov_qp0_header()
2946 memcpy(inl + 1, sqp->header_buf, header_size); in build_sriov_qp0_header()
2950 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
2953 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
3222 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_mlx_header()
3230 be32_to_cpu(((__be32 *) sqp->header_buf)[i])); in build_mlx_header()
3247 memcpy(inl + 1, sqp->header_buf, header_size); in build_mlx_header()
3251 memcpy(inl + 1, sqp->header_buf, spc); in build_mlx_header()
3254 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header()
Dmlx4_ib.h319 u8 header_buf[MLX4_IB_UD_HEADER_SIZE]; member