Lines Matching defs:spc
2874 int spc;
2942 spc = MLX4_INLINE_ALIGN -
2944 if (header_size <= spc) {
2949 inl->byte_count = cpu_to_be32(1 << 31 | spc);
2950 memcpy(inl + 1, sqp->header_buf, spc);
2952 inl = (void *) (inl + 1) + spc;
2953 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
2968 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc));
3027 int spc;
3243 spc = MLX4_INLINE_ALIGN -
3245 if (header_size <= spc) {
3250 inl->byte_count = cpu_to_be32(1 << 31 | spc);
3251 memcpy(inl + 1, sqp->header_buf, spc);
3253 inl = (void *) (inl + 1) + spc;
3254 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
3269 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc));
3402 int spc;
3412 spc = MLX4_INLINE_ALIGN -
3414 if (sizeof (hdr) <= spc) {
3420 memcpy(inl + 1, &hdr, spc);
3422 inl->byte_count = cpu_to_be32(1 << 31 | spc);
3424 inl = (void *) (inl + 1) + spc;
3425 memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc);
3427 inl->byte_count = cpu_to_be32(1 << 31 | (sizeof (hdr) - spc));