Lines Matching refs:copied_seq
481 int avail = READ_ONCE(tp->rcv_nxt) - READ_ONCE(tp->copied_seq); in tcp_stream_is_readable()
560 if (READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()
622 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()
1538 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1540 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1627 u32 seq = tp->copied_seq; in tcp_read_sock()
1679 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1681 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1811 seq = tp->copied_seq; in tcp_zerocopy_receive()
1889 WRITE_ONCE(tp->copied_seq, seq); in tcp_zerocopy_receive()
1990 u32 copied_seq = READ_ONCE(tp->copied_seq); in tcp_inq_hint() local
1994 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
1995 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) { in tcp_inq_hint()
1997 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2067 seq = &tp->copied_seq; in tcp_recvmsg()
2069 peek_seq = tp->copied_seq; in tcp_recvmsg()
2170 (peek_seq - copied - urg_hole != tp->copied_seq)) { in tcp_recvmsg()
2174 peek_seq = tp->copied_seq; in tcp_recvmsg()
2219 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg()
2664 WRITE_ONCE(tp->copied_seq, tp->rcv_nxt); in tcp_disconnect()
3172 WRITE_ONCE(tp->copied_seq, val); in do_tcp_setsockopt()