Home
last modified time | relevance | path

Searched refs:write_seq (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/net/mptcp/
Dprotocol.c426 msk->write_seq == READ_ONCE(msk->snd_una); in mptcp_pending_data_fin_ack()
947 static bool mptcp_skb_can_collapse_to(u64 write_seq, in mptcp_skb_can_collapse_to() argument
957 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to()
973 df->data_seq + df->data_len == msk->write_seq; in mptcp_frag_can_collapse_to()
1046 snd_una == READ_ONCE(msk->write_seq)) { in __mptcp_clean_una()
1108 dfrag->data_seq = msk->write_seq; in mptcp_carve_data_frag()
1327 WRITE_ONCE(tcp_sk(ssk)->write_seq, tcp_sk(ssk)->write_seq + copy); in mptcp_sendmsg_frag()
1662 msk->snd_nxt + 1 == msk->write_seq) in __mptcp_subflow_push_pending()
1801 WRITE_ONCE(msk->write_seq, msk->write_seq + psize); in mptcp_sendmsg()
2825 msk->snd_nxt, msk->write_seq); in __mptcp_check_send_data_fin()
[all …]
Dprotocol.h255 u64 write_seq; member
709 READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt); in mptcp_data_fin_enabled()
Dsockopt.c907 info->mptcpi_write_seq = READ_ONCE(msk->write_seq); in mptcp_diag_fill_info()
Doptions.c529 u64 data_fin_tx_seq = READ_ONCE(mptcp_sk(subflow->conn)->write_seq) - 1; in mptcp_write_data_fin()
/linux-6.1.9/net/ipv4/
Dtcp.c625 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
634 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
648 tp->pushed_seq = tp->write_seq; in tcp_mark_push()
653 return after(tp->write_seq, tp->pushed_seq + (tp->max_window >> 1)); in forced_push()
661 tcb->seq = tcb->end_seq = tp->write_seq; in tcp_skb_entail()
676 tp->snd_up = tp->write_seq; in tcp_mark_urg()
1031 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_build_frag()
1419 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_sendmsg_locked()
3098 (tp->snd_nxt != tp->write_seq && in tcp_disconnect()
3126 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect()
[all …]
Dtcp_rate.c199 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
Dtcp_output.c1434 WRITE_ONCE(tp->write_seq, TCP_SKB_CB(skb)->end_seq); in tcp_queue_skb()
2381 if (tp->write_seq - tp->snd_nxt < size_needed) in tcp_mtu_probe()
3411 tp->write_seq++; in tcp_send_fin()
3431 tcp_init_nondata_skb(skb, tp->write_seq, in tcp_send_fin()
3710 tp->snd_una = tp->write_seq; in tcp_connect_init()
3711 tp->snd_sml = tp->write_seq; in tcp_connect_init()
3712 tp->snd_up = tp->write_seq; in tcp_connect_init()
3713 WRITE_ONCE(tp->snd_nxt, tp->write_seq); in tcp_connect_init()
3736 WRITE_ONCE(tp->write_seq, tcb->end_seq); in tcp_connect_queue_skb()
3859 tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); in tcp_connect()
[all …]
Dtcp_diag.c31 r->idiag_wqueue = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_diag_get_info()
Dtcp_ipv4.c172 WRITE_ONCE(tp->write_seq, seq); in tcp_twsk_unique()
267 WRITE_ONCE(tp->write_seq, 0); in tcp_v4_connect()
304 if (!tp->write_seq) in tcp_v4_connect()
305 WRITE_ONCE(tp->write_seq, in tcp_v4_connect()
2636 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp4_sock()
3038 u32 notsent_bytes = READ_ONCE(tp->write_seq) - in tcp_stream_memory_free()
Dtcp_minisocks.c517 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
Dtcp_input.c6584 if (tp->snd_una != tp->write_seq) in tcp_rcv_state_process()
6632 if (tp->snd_una == tp->write_seq) { in tcp_rcv_state_process()
6639 if (tp->snd_una == tp->write_seq) { in tcp_rcv_state_process()
/linux-6.1.9/net/tls/
Dtls_device.c293 record->end_seq = tp->write_seq + record->len; in tls_push_record()
298 tls_device_resync_tx(sk, ctx, tp->write_seq); in tls_push_record()
1174 start_marker_record->end_seq = tcp_sk(sk)->write_seq; in tls_set_device_offload()
1215 tcp_sk(sk)->write_seq); in tls_set_device_offload()
1217 tcp_sk(sk)->write_seq, rec_seq, rc); in tls_set_device_offload()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c127 tp->write_seq - tp->snd_una, rx_queue, in dump_tcp_sock()
Dbpf_iter_tcp6.c131 tp->tcp.write_seq - tp->tcp.snd_una, rx_queue, in dump_tcp6_sock()
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit.h223 u32 write_seq; member
Dcxgbit_target.c257 (!before(csk->write_seq, in cxgbit_push_tx_frames()
327 csk->write_seq += skb->len + in cxgbit_queue_skb()
/linux-6.1.9/include/linux/
Dtcp.h335 u32 write_seq; /* Tail(+1) of data held in tcp send buffer */ member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c717 tp->snd_up = tp->write_seq; in mark_urg()
824 ULP_SKB_CB(skb)->seq = tp->write_seq; in skb_entail()
1183 tp->write_seq += copy; in chtls_sendmsg()
1298 tp->write_seq += copy; in chtls_sendpage()
/linux-6.1.9/net/ipv6/
Dtcp_ipv6.c220 WRITE_ONCE(tp->write_seq, 0); in tcp_v6_connect()
326 if (!tp->write_seq) in tcp_v6_connect()
327 WRITE_ONCE(tp->write_seq, in tcp_v6_connect()
2050 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp6_sock()
/linux-6.1.9/drivers/scsi/cxgbi/
Dlibcxgbi.h170 u32 write_seq; member
Dlibcxgbi.c833 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()
/linux-6.1.9/net/rds/
Dtcp.c95 return tcp_sk(tc->t_sock->sk)->write_seq; in rds_tcp_write_seq()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_debugfs.c392 answ = tp->write_seq - tp->snd_una; in in_flight_summary_show()
/linux-6.1.9/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c215 req->rsvd = htonl(csk->write_seq); in send_close_req()
/linux-6.1.9/include/net/
Dtcp.h1886 return tp->write_seq == tp->snd_nxt; in tcp_write_queue_empty()

12