Lines Matching refs:copied_seq
559 if (READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq) && in tcp_poll()
621 READ_ONCE(tp->urg_seq) == READ_ONCE(tp->copied_seq); in tcp_ioctl()
1550 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1552 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1639 u32 seq = tp->copied_seq; in tcp_read_sock()
1693 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1695 WRITE_ONCE(tp->copied_seq, seq); in tcp_read_sock()
1900 skb = tcp_recv_skb(sk, tcp_sk(sk)->copied_seq, &offset); in receive_fallback_to_copy()
2080 u32 seq = tp->copied_seq; in tcp_zerocopy_receive()
2192 WRITE_ONCE(tp->copied_seq, seq); in tcp_zerocopy_receive()
2279 u32 copied_seq = READ_ONCE(tp->copied_seq); in tcp_inq_hint() local
2283 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
2284 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) { in tcp_inq_hint()
2286 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2348 seq = &tp->copied_seq; in tcp_recvmsg_locked()
2350 peek_seq = tp->copied_seq; in tcp_recvmsg_locked()
2451 (peek_seq - copied - urg_hole != tp->copied_seq)) { in tcp_recvmsg_locked()
2455 peek_seq = tp->copied_seq; in tcp_recvmsg_locked()
2500 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
3004 WRITE_ONCE(tp->copied_seq, tp->rcv_nxt); in tcp_disconnect()
3535 if (tp->rcv_nxt != tp->copied_seq) { in do_tcp_setsockopt()
3539 WRITE_ONCE(tp->copied_seq, val); in do_tcp_setsockopt()