Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/net/mptcp/
H A Dprotocol.c338 msk->write_seq == atomic64_read(&msk->snd_una)) { in mptcp_check_data_fin_ack()
752 static bool mptcp_skb_can_collapse_to(u64 write_seq, in mptcp_skb_can_collapse_to() argument
760 return mpext && mpext->data_seq + mpext->data_len == write_seq; in mptcp_skb_can_collapse_to()
774 df->data_seq + df->data_len == msk->write_seq; in mptcp_frag_can_collapse_to()
817 atomic64_set(&msk->snd_una, msk->write_seq); in mptcp_clean_una()
883 dfrag->data_seq = msk->write_seq; in mptcp_carve_data_frag()
904 u64 *write_seq; in mptcp_sendmsg_frag() local
914 write_seq = &msk->write_seq; in mptcp_sendmsg_frag()
917 write_seq = &dfrag->data_seq; in mptcp_sendmsg_frag()
937 mptcp_skb_can_collapse_to(*write_seq, skb, mpext); in mptcp_sendmsg_frag()
[all …]
H A Doptions.c461 u64 data_fin_tx_seq = READ_ONCE(mptcp_sk(subflow->conn)->write_seq) - 1; in mptcp_write_data_fin()
818 u64 write_seq = READ_ONCE(msk->write_seq); in update_una() local
827 if (after64(new_snd_una, write_seq)) in update_una()
H A Dmptcp_diag.c142 info->mptcpi_write_seq = READ_ONCE(msk->write_seq); in mptcp_diag_get_info()
H A Dprotocol.h202 u64 write_seq; member
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp.c633 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
642 answ = READ_ONCE(tp->write_seq) - in tcp_ioctl()
656 tp->pushed_seq = tp->write_seq; in tcp_mark_push()
661 return after(tp->write_seq, tp->pushed_seq + (tp->max_window >> 1)); in forced_push()
670 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail()
686 tp->snd_up = tp->write_seq; in tcp_mark_urg()
1054 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in do_tcp_sendpages()
1384 WRITE_ONCE(tp->write_seq, tp->write_seq + copy); in tcp_sendmsg_locked()
2731 (tp->snd_nxt != tp->write_seq && in tcp_disconnect()
2764 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect()
[all …]
H A Dtcp_output.c1434 WRITE_ONCE(tp->write_seq, TCP_SKB_CB(skb)->end_seq); in tcp_queue_skb()
2374 if (tp->write_seq - tp->snd_nxt < size_needed) in tcp_mtu_probe()
3413 tp->write_seq++; in tcp_send_fin()
3433 tcp_init_nondata_skb(skb, tp->write_seq, in tcp_send_fin()
3711 tp->snd_una = tp->write_seq; in tcp_connect_init()
3712 tp->snd_sml = tp->write_seq; in tcp_connect_init()
3713 tp->snd_up = tp->write_seq; in tcp_connect_init()
3714 WRITE_ONCE(tp->snd_nxt, tp->write_seq); in tcp_connect_init()
3737 WRITE_ONCE(tp->write_seq, tcb->end_seq); in tcp_connect_queue_skb()
3861 tcp_init_nondata_skb(buff, tp->write_seq++, TCPHDR_SYN); in tcp_connect()
[all …]
H A Dtcp_rate.c188 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
H A Dtcp_diag.c31 r->idiag_wqueue = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_diag_get_info()
H A Dtcp_ipv4.c170 WRITE_ONCE(tp->write_seq, seq); in tcp_twsk_unique()
257 WRITE_ONCE(tp->write_seq, 0); in tcp_v4_connect()
294 if (!tp->write_seq) in tcp_v4_connect()
295 WRITE_ONCE(tp->write_seq, in tcp_v4_connect()
2613 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp4_sock()
H A Dtcp_minisocks.c503 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); in tcp_create_openreq_child()
H A Dtcp_input.c6505 if (tp->snd_una != tp->write_seq) in tcp_rcv_state_process()
6553 if (tp->snd_una == tp->write_seq) { in tcp_rcv_state_process()
6560 if (tp->snd_una == tp->write_seq) { in tcp_rcv_state_process()
/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_device.c282 record->end_seq = tp->write_seq + record->len; in tls_push_record()
287 tls_device_resync_tx(sk, ctx, tp->write_seq); in tls_push_record()
1102 start_marker_record->end_seq = tcp_sk(sk)->write_seq; in tls_set_device_offload()
1152 tcp_sk(sk)->write_seq); in tls_set_device_offload()
1154 tcp_sk(sk)->write_seq, rec_seq, rc); in tls_set_device_offload()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c128 tp->write_seq - tp->snd_una, rx_queue, in dump_tcp_sock()
H A Dbpf_iter_tcp6.c132 tp->tcp.write_seq - tp->tcp.snd_una, rx_queue, in dump_tcp6_sock()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/cxgbit/
H A Dcxgbit.h223 u32 write_seq; member
H A Dcxgbit_target.c257 (!before(csk->write_seq, in cxgbit_push_tx_frames()
327 csk->write_seq += skb->len + in cxgbit_queue_skb()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtcp.h313 u32 write_seq; /* Tail(+1) of data held in tcp send buffer */ member
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dtcp_ipv6.c219 WRITE_ONCE(tp->write_seq, 0); in tcp_v6_connect()
318 if (!tp->write_seq) in tcp_v6_connect()
319 WRITE_ONCE(tp->write_seq, in tcp_v6_connect()
2035 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp6_sock()
/OK3568_Linux_fs/kernel/drivers/scsi/cxgbi/
H A Dlibcxgbi.h170 u32 write_seq; member
H A 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()
/OK3568_Linux_fs/kernel/net/rds/
H A Dtcp.c95 return tcp_sk(tc->t_sock->sk)->write_seq; in rds_tcp_write_seq()
/OK3568_Linux_fs/kernel/include/net/
H A Dtcp.h1823 return tp->write_seq == tp->snd_nxt; in tcp_write_queue_empty()
1994 u32 notsent_bytes = READ_ONCE(tp->write_seq) - in tcp_stream_memory_free()
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A Ddrbd_debugfs.c392 answ = tp->write_seq - tp->snd_una; in in_flight_summary_show()
/OK3568_Linux_fs/kernel/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c214 req->rsvd = htonl(csk->write_seq); in send_close_req()

12