Lines Matching refs:spc
682 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() local
685 if (skb->len <= spc) { in build_inline_wqe()
699 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
700 if (hlen <= spc) { in build_inline_wqe()
702 if (hlen < spc) { in build_inline_wqe()
704 fragptr, spc - hlen); in build_inline_wqe()
705 fragptr += spc - hlen; in build_inline_wqe()
707 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
708 memcpy(((void *)(inl + 1)), fragptr, skb->len - spc); in build_inline_wqe()
710 skb_copy_from_linear_data(skb, inl + 1, spc); in build_inline_wqe()
711 inl = (void *) (inl + 1) + spc; in build_inline_wqe()
712 skb_copy_from_linear_data_offset(skb, spc, inl + 1, in build_inline_wqe()
713 hlen - spc); in build_inline_wqe()
715 memcpy(((void *)(inl + 1)) + hlen - spc, in build_inline_wqe()
721 inl->byte_count = cpu_to_be32(1 << 31 | (skb->len - spc)); in build_inline_wqe()