Lines Matching refs:copied_seq
509 if (tp->urg_seq == tp->copied_seq && in tcp_poll()
514 if (tp->rcv_nxt - tp->copied_seq >= target) in tcp_poll()
564 before(tp->urg_seq, tp->copied_seq) || in tcp_ioctl()
567 answ = tp->rcv_nxt - tp->copied_seq; in tcp_ioctl()
573 answ = tp->urg_seq - tp->copied_seq; in tcp_ioctl()
577 answ = tp->urg_data && tp->urg_seq == tp->copied_seq; in tcp_ioctl()
1392 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1394 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1499 u32 seq = tp->copied_seq; in tcp_read_sock()
1551 tp->copied_seq = seq; in tcp_read_sock()
1553 tp->copied_seq = seq; in tcp_read_sock()
1623 seq = &tp->copied_seq; in tcp_recvmsg()
1625 peek_seq = tp->copied_seq; in tcp_recvmsg()
1728 WARN_ON(tp->copied_seq != tp->rcv_nxt && in tcp_recvmsg()
1783 if (tp->rcv_nxt == tp->copied_seq && in tcp_recvmsg()
1797 (peek_seq - copied - urg_hole != tp->copied_seq)) { in tcp_recvmsg()
1801 peek_seq = tp->copied_seq; in tcp_recvmsg()
1846 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg()