Lines Matching refs:write_seq
631 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
640 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
654 tp->pushed_seq = tp->write_seq; in tcp_mark_push()
659 return after(tp->write_seq, tp->pushed_seq + (tp->max_window >> 1)); in forced_push()
668 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail()
684 tp->snd_up = tp->write_seq; in tcp_mark_urg()
1052 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in do_tcp_sendpages()
1381 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_sendmsg_locked()
2752 (tp->snd_nxt != tp->write_seq && in tcp_disconnect()
2785 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect()
2788 WRITE_ONCE(tp->write_seq, seq); in tcp_disconnect()
3278 WRITE_ONCE(tp->write_seq, val); in do_tcp_setsockopt()
3570 info->tcpi_notsent_bytes = max_t(int, 0, tp->write_seq - tp->snd_nxt); in tcp_get_info()
3670 nla_put_u32(stats, TCP_NLA_SNDQ_SIZE, tp->write_seq - tp->snd_una); in tcp_get_timestamping_opt_stats()
3682 max_t(int, 0, tp->write_seq - tp->snd_nxt)); in tcp_get_timestamping_opt_stats()
3866 val = tp->write_seq; in do_tcp_getsockopt()