Lines Matching refs:spc
683 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local
686 if (skb->len <= spc) { in build_inline_wqe()
700 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
701 if (hlen <= spc) { in build_inline_wqe()
703 if (hlen < spc) { in build_inline_wqe()
705 fragptr, spc - hlen); in build_inline_wqe()
706 fragptr += spc - hlen; in build_inline_wqe()
708 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
709 memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); in build_inline_wqe()
711 skb_copy_from_linear_data(skb, inl + 1, spc); in build_inline_wqe()
712 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
713 skb_copy_from_linear_data_offset(skb, spc, inl + 1, in build_inline_wqe()
714 hlen - spc); in build_inline_wqe()
716 memcpy(((void *)(inl + 1)) + hlen - spc, in build_inline_wqe()
722 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()