Lines Matching refs:copied_seq
505 if (tp->urg_seq == tp->copied_seq && in tcp_poll()
513 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()
1364 WARN(skb && !before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq), in tcp_cleanup_rbuf()
1366 tp->copied_seq, TCP_SKB_CB(skb)->end_seq, tp->rcv_nxt); in tcp_cleanup_rbuf()
1471 u32 seq = tp->copied_seq; in tcp_read_sock()
1523 tp->copied_seq = seq; in tcp_read_sock()
1525 tp->copied_seq = seq; in tcp_read_sock()
1595 seq = &tp->copied_seq; in tcp_recvmsg()
1597 peek_seq = tp->copied_seq; in tcp_recvmsg()
1698 WARN_ON(tp->copied_seq != tp->rcv_nxt && in tcp_recvmsg()
1751 if (tp->rcv_nxt == tp->copied_seq && in tcp_recvmsg()
1764 (peek_seq - copied - urg_hole != tp->copied_seq)) { in tcp_recvmsg()
1768 peek_seq = tp->copied_seq; in tcp_recvmsg()
1813 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg()