Lines Matching refs:spc
2882 int spc;
2950 spc = MLX4_INLINE_ALIGN -
2952 if (header_size <= spc) {
2957 inl->byte_count = cpu_to_be32(1 << 31 | spc);
2958 memcpy(inl + 1, sqp->header_buf, spc);
2960 inl = (void *) (inl + 1) + spc;
2961 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
2976 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc));
3035 int spc;
3251 spc = MLX4_INLINE_ALIGN -
3253 if (header_size <= spc) {
3258 inl->byte_count = cpu_to_be32(1 << 31 | spc);
3259 memcpy(inl + 1, sqp->header_buf, spc);
3261 inl = (void *) (inl + 1) + spc;
3262 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
3277 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc));
3410 int spc;
3420 spc = MLX4_INLINE_ALIGN -
3422 if (sizeof (hdr) <= spc) {
3428 memcpy(inl + 1, &hdr, spc);
3430 inl->byte_count = cpu_to_be32(1 << 31 | spc);
3432 inl = (void *) (inl + 1) + spc;
3433 memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc);
3435 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc));