Searched refs:header_buf (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/init/
H A Dinitramfs.c229 static __initdata char *header_buf, *symlink_buf, *name_buf; variable
233 read_into(header_buf, 110, GotHeader); do_start()
456 header_buf = kmalloc(110, GFP_KERNEL); unpack_to_rootfs()
460 if (!header_buf || !symlink_buf || !name_buf) unpack_to_rootfs()
507 kfree(header_buf); unpack_to_rootfs()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dqp.c87 u8 header_buf[MLX4_IB_UD_HEADER_SIZE]; member in struct:mlx4_ib_sqp
2212 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); build_sriov_qp0_header()
2224 memcpy(inl + 1, sqp->header_buf, header_size); build_sriov_qp0_header()
2228 memcpy(inl + 1, sqp->header_buf, spc); build_sriov_qp0_header()
2231 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); build_sriov_qp0_header()
2430 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); build_mlx_header()
2438 be32_to_cpu(((__be32 *) sqp->header_buf)[i])); build_mlx_header()
2455 memcpy(inl + 1, sqp->header_buf, header_size); build_mlx_header()
2459 memcpy(inl + 1, sqp->header_buf, spc); build_mlx_header()
2462 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); build_mlx_header()
/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h295 void *header_buf; member in struct:mthca_sqp
H A Dmthca_qp.c1362 sqp->header_buf = dma_alloc_coherent(&dev->pdev->dev, sqp->header_buf_size, mthca_alloc_sqp()
1364 if (!sqp->header_buf) mthca_alloc_sqp()
1405 sqp->header_buf, sqp->header_dma); mthca_alloc_sqp()
1471 to_msqp(qp)->header_buf, mthca_free_qp()
1534 sqp->header_buf + build_mlx_header()

Completed in 289 milliseconds