Lines Matching refs:write_seq
522 u32 notsent_bytes = READ_ONCE(tp->write_seq) - READ_ONCE(tp->snd_nxt); in tcp_stream_memory_free()
675 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
684 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
699 tp->pushed_seq = tp->write_seq; in tcp_mark_push()
704 return after(tp->write_seq, tp->pushed_seq + (tp->max_window >> 1)); in forced_push()
712 tcb->seq = tcb->end_seq = tp->write_seq; in tcp_skb_entail()
728 tp->snd_up = tp->write_seq; in tcp_mark_urg()
1118 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
1390 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_sendmsg_locked()
3420 } else if (tp->snd_nxt != tp->write_seq && in tcp_disconnect()
3450 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect()
3453 WRITE_ONCE(tp->write_seq, seq); in tcp_disconnect()
4057 WRITE_ONCE(tp->write_seq, val); in do_tcp_setsockopt()
4343 info->tcpi_notsent_bytes = max_t(int, 0, tp->write_seq - tp->snd_nxt); in tcp_get_info()
4487 nla_put_u32(stats, TCP_NLA_SNDQ_SIZE, tp->write_seq - tp->snd_una); in tcp_get_timestamping_opt_stats()
4499 max_t(int, 0, tp->write_seq - tp->snd_nxt)); in tcp_get_timestamping_opt_stats()
4693 val = tp->write_seq; in do_tcp_getsockopt()
5214 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_write_tx, write_seq); in tcp_struct_check()