Lines Matching refs:spc
642 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof *inl; in build_inline_wqe() local
645 if (skb->len <= spc) { in build_inline_wqe()
659 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
660 if (hlen <= spc) { in build_inline_wqe()
662 if (hlen < spc) { in build_inline_wqe()
664 fragptr, spc - hlen); in build_inline_wqe()
665 fragptr += spc - hlen; in build_inline_wqe()
667 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
668 memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); in build_inline_wqe()
670 skb_copy_from_linear_data(skb, inl + 1, spc); in build_inline_wqe()
671 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
672 skb_copy_from_linear_data_offset(skb, spc, inl + 1, in build_inline_wqe()
673 hlen - spc); in build_inline_wqe()
675 memcpy(((void *)(inl + 1)) + hlen - spc, in build_inline_wqe()
681 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()