Lines Matching refs:copied_seq
491 return (tp->rcv_nxt - tp->copied_seq >= target) || in tcp_stream_is_readable()
560 if (tp->urg_seq == tp->copied_seq && in tcp_poll()
621 answ = tp->urg_data && tp->urg_seq == tp->copied_seq; in tcp_ioctl()
1537 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1539 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1628 u32 seq = tp->copied_seq; in tcp_read_sock()
1680 tp->copied_seq = seq; in tcp_read_sock()
1682 tp->copied_seq = seq; in tcp_read_sock()
1775 seq = tp->copied_seq; in tcp_zerocopy_receive()
1818 tp->copied_seq = seq; in tcp_zerocopy_receive()
1894 u32 copied_seq = READ_ONCE(tp->copied_seq); in tcp_inq_hint() local
1898 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
1899 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) { in tcp_inq_hint()
1901 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
1967 seq = &tp->copied_seq; in tcp_recvmsg()
1969 peek_seq = tp->copied_seq; in tcp_recvmsg()
2070 (peek_seq - copied - urg_hole != tp->copied_seq)) { in tcp_recvmsg()
2074 peek_seq = tp->copied_seq; in tcp_recvmsg()
2119 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg()
2557 tp->copied_seq = tp->rcv_nxt; in tcp_disconnect()