• Home
  • Raw
  • Download

Lines Matching refs:spc

1647 	int spc;  in build_sriov_qp0_header()  local
1707 spc = MLX4_INLINE_ALIGN - in build_sriov_qp0_header()
1709 if (header_size <= spc) { in build_sriov_qp0_header()
1714 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_sriov_qp0_header()
1715 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
1717 inl = (void *) (inl + 1) + spc; in build_sriov_qp0_header()
1718 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
1733 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
1754 int spc; in build_mlx_header() local
1909 spc = MLX4_INLINE_ALIGN - in build_mlx_header()
1911 if (header_size <= spc) { in build_mlx_header()
1916 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_mlx_header()
1917 memcpy(inl + 1, sqp->header_buf, spc); in build_mlx_header()
1919 inl = (void *) (inl + 1) + spc; in build_mlx_header()
1920 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header()
1935 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_mlx_header()
2086 int spc; in build_tunnel_header() local
2094 spc = MLX4_INLINE_ALIGN - in build_tunnel_header()
2096 if (sizeof (hdr) <= spc) { in build_tunnel_header()
2102 memcpy(inl + 1, &hdr, spc); in build_tunnel_header()
2104 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_tunnel_header()
2106 inl = (void *) (inl + 1) + spc; in build_tunnel_header()
2107 memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc); in build_tunnel_header()
2109 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc)); in build_tunnel_header()