Lines Matching refs:copylen
1908 struct sk_buff *skb, u32 copylen, in tcp_copy_straggler_data() argument
1920 copylen, &iov, &msg.msg_iter); in tcp_copy_straggler_data()
1923 err = skb_copy_datagram_msg(skb, *offset, &msg, copylen); in tcp_copy_straggler_data()
1926 zc->recv_skip_hint -= copylen; in tcp_copy_straggler_data()
1927 *offset += copylen; in tcp_copy_straggler_data()
1928 *seq += copylen; in tcp_copy_straggler_data()
1929 return (__s32)copylen; in tcp_copy_straggler_data()
1939 u32 offset, copylen = min_t(u32, copybuf_len, zc->recv_skip_hint); in tcp_zc_handle_leftover() local
1941 if (!copylen) in tcp_zc_handle_leftover()
1954 zc->copybuf_len = tcp_copy_straggler_data(zc, skb, copylen, &offset, in tcp_zc_handle_leftover()
1956 return zc->copybuf_len < 0 ? 0 : copylen; in tcp_zc_handle_leftover()
2071 u32 length = 0, offset, vma_len, avail_len, copylen = 0; in tcp_zerocopy_receive() local
2189 copylen = tcp_zc_handle_leftover(zc, sk, skb, &seq, copybuf_len, tss); in tcp_zerocopy_receive()
2191 if (length + copylen) { in tcp_zerocopy_receive()
2197 tcp_cleanup_rbuf(sk, length + copylen); in tcp_zerocopy_receive()