/openbmc/linux/net/mptcp/ |
H A D | protocol.c | 424 msk->write_seq == READ_ONCE(msk->snd_una); in mptcp_pending_data_fin_ack() 965 static bool mptcp_skb_can_collapse_to(u64 write_seq, in mptcp_skb_can_collapse_to() argument 975 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to() 991 df->data_seq + df->data_len == msk->write_seq; in mptcp_frag_can_collapse_to() 1058 snd_una == READ_ONCE(msk->write_seq)) { in __mptcp_clean_una() 1121 dfrag->data_seq = msk->write_seq; in mptcp_carve_data_frag() 1340 WRITE_ONCE(tcp_sk(ssk)->write_seq, tcp_sk(ssk)->write_seq + copy); in mptcp_sendmsg_frag() 1708 msk->snd_nxt + 1 == msk->write_seq) in __mptcp_subflow_push_pending() 1867 WRITE_ONCE(msk->write_seq, msk->write_seq + psize); in mptcp_sendmsg() 2966 msk->snd_nxt, msk->write_seq); in mptcp_check_send_data_fin() [all …]
|
H A D | protocol.h | 265 u64 write_seq; member 805 READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt); in mptcp_data_fin_enabled()
|
H A D | subflow.c | 452 WRITE_ONCE(msk->write_seq, subflow->idsn + 1); in __mptcp_sync_state() 453 WRITE_ONCE(msk->snd_nxt, msk->write_seq); in __mptcp_sync_state()
|
H A D | sockopt.c | 962 info->mptcpi_write_seq = msk->write_seq; in mptcp_diag_fill_info()
|
H A D | options.c | 531 u64 data_fin_tx_seq = READ_ONCE(mptcp_sk(subflow->conn)->write_seq) - 1; in mptcp_write_data_fin()
|
/openbmc/linux/net/ipv4/ |
H A D | tcp.c | 630 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl() 639 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() 667 tcb->seq = tcb->end_seq = tp->write_seq; in tcp_skb_entail() 682 tp->snd_up = tp->write_seq; in tcp_mark_urg() 1274 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_sendmsg_locked() 3025 (tp->snd_nxt != tp->write_seq && in tcp_disconnect() 3053 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect() 3056 WRITE_ONCE(tp->write_seq, seq); in tcp_disconnect() [all …]
|
H A D | tcp_rate.c | 199 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
|
H A D | tcp_output.c | 1454 WRITE_ONCE(tp->write_seq, TCP_SKB_CB(skb)->end_seq); in tcp_queue_skb() 2438 if (tp->write_seq - tp->snd_nxt < size_needed) in tcp_mtu_probe() 3529 tp->write_seq++; in tcp_send_fin() 3551 tcp_init_nondata_skb(skb, tp->write_seq, in tcp_send_fin() 3825 tp->snd_una = tp->write_seq; in tcp_connect_init() 3826 tp->snd_sml = tp->write_seq; in tcp_connect_init() 3827 tp->snd_up = tp->write_seq; in tcp_connect_init() 3828 WRITE_ONCE(tp->snd_nxt, tp->write_seq); in tcp_connect_init() 3851 WRITE_ONCE(tp->write_seq, tcb->end_seq); in tcp_connect_queue_skb() 3981 tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); in tcp_connect() [all …]
|
H A D | tcp_diag.c | 31 r->idiag_wqueue = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_diag_get_info()
|
H A D | tcp_ipv4.c | 184 WRITE_ONCE(tp->write_seq, seq); in tcp_twsk_unique() 279 WRITE_ONCE(tp->write_seq, 0); in tcp_v4_connect() 316 if (!tp->write_seq) in tcp_v4_connect() 317 WRITE_ONCE(tp->write_seq, in tcp_v4_connect() 2713 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp4_sock() 3114 u32 notsent_bytes = READ_ONCE(tp->write_seq) - in tcp_stream_memory_free()
|
H A D | tcp_minisocks.c | 529 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
|
/openbmc/linux/net/tls/ |
H A D | tls_device.c | 294 record->end_seq = tp->write_seq + record->len; in tls_push_record() 299 tls_device_resync_tx(sk, ctx, tp->write_seq); in tls_push_record() 1133 start_marker_record->end_seq = tcp_sk(sk)->write_seq; in tls_set_device_offload() 1174 tcp_sk(sk)->write_seq); in tls_set_device_offload() 1176 tcp_sk(sk)->write_seq, rec_seq, rc); in tls_set_device_offload()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 127 tp->write_seq - tp->snd_una, rx_queue, in dump_tcp_sock()
|
H A D | bpf_iter_tcp6.c | 131 tp->tcp.write_seq - tp->tcp.snd_una, rx_queue, in dump_tcp6_sock()
|
/openbmc/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit.h | 223 u32 write_seq; member
|
H A D | cxgbit_target.c | 257 (!before(csk->write_seq, in cxgbit_push_tx_frames() 327 csk->write_seq += skb->len + in cxgbit_queue_skb()
|
/openbmc/linux/include/linux/ |
H A D | tcp.h | 337 u32 write_seq; /* Tail(+1) of data held in tcp send buffer */ member
|
/openbmc/linux/net/ipv6/ |
H A D | tcp_ipv6.c | 214 WRITE_ONCE(tp->write_seq, 0); in tcp_v6_connect() 321 if (!tp->write_seq) in tcp_v6_connect() 322 WRITE_ONCE(tp->write_seq, in tcp_v6_connect() 2038 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp6_sock()
|
/openbmc/linux/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 169 u32 write_seq; member
|
H A D | libcxgbi.c | 833 csk->write_seq = csk->snd_nxt = csk->snd_una = snd_isn; in cxgbi_sock_established() 1117 cxgbi_skcb_tcp_seq(skb) = csk->write_seq; in cxgbi_sock_skb_entail() 2296 before((csk->snd_win + csk->snd_una), csk->write_seq)) { in cxgbi_sock_tx_queue_up() 2299 csk, csk->state, csk->flags, csk->tid, csk->write_seq, in cxgbi_sock_tx_queue_up() 2337 csk->write_seq += (skb->len + extra_len); in cxgbi_sock_tx_queue_up()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_io.c | 717 tp->snd_up = tp->write_seq; in mark_urg() 824 ULP_SKB_CB(skb)->seq = tp->write_seq; in skb_entail() 1196 tp->write_seq += copy; in chtls_sendmsg()
|
/openbmc/linux/net/rds/ |
H A D | tcp.c | 95 return tcp_sk(tc->t_sock->sk)->write_seq; in rds_tcp_write_seq()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_debugfs.c | 392 answ = tp->write_seq - tp->snd_una; in in_flight_summary_show()
|
/openbmc/linux/Documentation/networking/ |
H A D | timestamping.rst | 215 The difference is due to being based on snd_una versus write_seq. 218 write_seq is the last byte written by the process. This offset is
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 215 req->rsvd = htonl(csk->write_seq); in send_close_req()
|