Lines Matching refs:snd_max
2251 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2260 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2276 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2295 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2303 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2327 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2330 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
2358 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in rack_rate_cap_bw()
3606 if ((tp->snd_max == tp->snd_una) || in rack_enough_for_measurement()
3607 (th_ack == tp->snd_max)){ in rack_enough_for_measurement()
4203 if (rack->rc_tp->snd_max == rack->rc_tp->snd_una) { in rack_enter_probertt()
4399 rack->r_ctl.rc_probertt_sndmax_atexit = rack->rc_tp->snd_max; in rack_exit_probertt()
4813 if (tp->snd_una == tp->snd_max) { in rack_tend_gp_marks()
5483 if ((th_ack == tp->snd_max) && rack->lt_bw_up) { in rack_ack_received()
5492 rack->r_ctl.lt_bw_bytes += (tp->snd_max - rack->r_ctl.lt_seq); in rack_ack_received()
5493 rack->r_ctl.lt_seq = tp->snd_max; in rack_ack_received()
5738 rack->r_ctl.rc_prr_recovery_fs = tp->snd_max - tp->snd_una; in rack_cong_signal()
5739 tp->snd_recover = tp->snd_max; in rack_cong_signal()
5754 tp->snd_recover = tp->snd_max + 1; in rack_cong_signal()
5791 tp->snd_nxt = tp->snd_max; in rack_cong_signal()
6001 if (((tp->snd_max - tp->snd_una) - rack->r_ctl.rc_sacked + rack->r_ctl.rc_holes_rxt) <= segsiz) { in rack_calc_thresh_tlp()
6192 if (SEQ_LT(tp->snd_una, tp->snd_max) || in rack_timer_start()
6240 ((tp->snd_max - tp->snd_una) == 1) && in rack_timer_start()
6837 if (SEQ_GT(tp->snd_max, tp->snd_una)) { in rack_start_hpts_timer()
7188 out = tp->snd_max - tp->snd_una; in rack_timeout_tlp()
7424 tp->snd_una == tp->snd_max) in rack_timeout_persist()
7520 rack->r_ctl.rc_snd_max_at_rto = tp->snd_max; in rack_remxt_tmr()
7701 (tp->snd_una == tp->snd_max)) { in rack_timeout_rxt()
7928 tp->snd_recover = tp->snd_max; in rack_timeout_rxt()
8059 ((tp->snd_max - tp->snd_una) == 0))) { in rack_timer_cancel()
8063 if ((tp->snd_max - tp->snd_una) == 0) in rack_timer_cancel()
8277 register uint32_t snd_max, snd_una; in rack_log_output() local
8317 snd_max = tp->snd_max; in rack_log_output()
8353 if (seq_out == snd_max) { in rack_log_output()
8540 if (seq_out == tp->snd_max) { in rack_log_output()
8542 } else if (SEQ_LT(seq_out, tp->snd_max)) { in rack_log_output()
8545 seq_out, len, tp->snd_una, tp->snd_max); in rack_log_output()
8562 seq_out, len, tp->snd_max, tp); in rack_log_output()
9225 if (SEQ_LT(tp->gput_seq, tp->snd_max)) in rack_need_set_test()
10301 tp->snd_una, tp->snd_max); in rack_process_to_cumack()
10669 rack->r_ctl.dsack_round_end = rack->rc_tp->snd_max; in rack_note_dsack()
10699 return (((tp->snd_max - snd_una) - in do_rack_compute_pipe()
10719 if (sbavail(&rack->rc_inp->inp_socket->so_snd) <= (tp->snd_max - tp->snd_una)) { in rack_update_prr()
10847 SEQ_LT(sack.start, tp->snd_max) && in rack_log_ack()
10849 SEQ_LEQ(sack.end, tp->snd_max)) { in rack_log_ack()
11130 if (tp->snd_max == tp->snd_una) { in rack_check_bottom_drag()
11548 gating_val = min((sbavail(&so->so_snd) - (tp->snd_max - tp->snd_una)), in rack_gain_for_fastoutput()
11549 (tp->snd_wnd - (tp->snd_max - tp->snd_una))); in rack_gain_for_fastoutput()
11554 …tl.fsb.left_to_send <= (sbavail(&rack->rc_inp->inp_socket->so_snd) - (tp->snd_max - tp->snd_una))), in rack_gain_for_fastoutput()
11558 (tp->snd_max - tp->snd_una))); in rack_gain_for_fastoutput()
11806 if (SEQ_GT(th->th_ack, tp->snd_max)) { in rack_process_ack()
11938 (SEQ_LT(th->th_ack, tp->snd_max))) { in rack_process_ack()
12000 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) { in rack_process_ack()
12001 tp->snd_nxt = tp->snd_max; in rack_process_ack()
12011 if (tp->snd_una == tp->snd_max) { in rack_process_ack()
12096 rack->r_ctl.high_collapse_point = rack->rc_tp->snd_max; in rack_collapsed_window()
12270 tp->snd_nxt = tp->snd_max; in rack_process_data()
12278 ((tp->snd_max == tp->snd_una) || rack->rc_has_collapsed) && in rack_process_data()
12503 (sbavail(&so->so_snd) > (tp->snd_max - tp->snd_una))) { in rack_process_data()
12627 if (tp->snd_una == tp->snd_max) in rack_do_fastnewdata()
12655 if (__predict_false(SEQ_GT(th->th_ack, tp->snd_max))) { in rack_fastack()
12705 ((tp->snd_max == tp->snd_una) || rack->rc_has_collapsed) && in rack_fastack()
12821 if (tp->snd_una == tp->snd_max) { in rack_fastack()
12874 SEQ_GT(th->th_ack, tp->snd_max))) { in rack_do_syn_sent()
12917 (tp->snd_una != tp->snd_max)) { in rack_do_syn_sent()
12919 if (SEQ_LT(th->th_ack, tp->snd_max)) in rack_do_syn_sent()
12951 if (tfo_partial && (SEQ_GT(tp->snd_max, tp->snd_una))) { in rack_do_syn_sent()
13088 SEQ_GT(th->th_ack, tp->snd_max))) { in rack_do_syn_recv()
14158 log.u_bbr.flex4 = tp->snd_max; in rack_log_hystart_event()
14175 rack->r_ctl.roundends = tp->snd_max; in rack_deferred_init()
14251 if ((reqr->req_param == tp->snd_max) || in rack_chg_query()
14252 (tp->snd_max == tp->snd_una)){ in rack_chg_query()
14411 rsm->r_end = tp->snd_max; in rack_init_outstanding()
14416 rsm->r_end = rsm->r_start + (tp->snd_max - tp->snd_una); in rack_init_outstanding()
14456 while (at != tp->snd_max) { in rack_init_outstanding()
14811 if (SEQ_GT(tp->snd_max, tp->iss)) in rack_init()
14812 snt = tp->snd_max - tp->iss; in rack_init()
14859 (tp->snd_una != tp->snd_max)) { in rack_init()
15007 if ((tp->t_flags & TF_SENTFIN) && ((tp->snd_max - tp->snd_una) > 1)) { in rack_handoff_ok()
15146 tp->snd_nxt = tp->snd_max; in rack_fini()
15244 (tp->snd_max == tp->snd_una)) { in rack_timer_audit()
15249 if (SEQ_GT(tp->snd_max, tp->snd_una) && in rack_timer_audit()
15328 ((tp->snd_max == tp->snd_una) || rack->rc_has_collapsed) && in rack_do_win_updates()
15552 rack->r_ctl.roundends = tp->snd_max; in rack_new_round_starts()
15554 rack_log_hystart_event(rack, tp->snd_max, 4); in rack_new_round_starts()
15834 (tp->snd_max == tp->snd_una) && in rack_do_compressed_ack_processing()
15898 if (SEQ_GT(ae->ack, tp->snd_max)) { in rack_do_compressed_ack_processing()
15965 if (SEQ_GT(tp->snd_max, high_seq) && (tp->snd_wnd < (tp->snd_max - high_seq))) { in rack_do_compressed_ack_processing()
15967 rack_collapsed_window(rack, (tp->snd_max - high_seq), high_seq, __LINE__); in rack_do_compressed_ack_processing()
16018 (SEQ_LT(high_seq, tp->snd_max))) { in rack_do_compressed_ack_processing()
16106 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) in rack_do_compressed_ack_processing()
16107 tp->snd_nxt = tp->snd_max; in rack_do_compressed_ack_processing()
16124 if (tp->snd_una == tp->snd_max) { in rack_do_compressed_ack_processing()
16655 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in rack_do_segment_nounlock()
16683 (tp->snd_max == tp->snd_una) && in rack_do_segment_nounlock()
16955 (SEQ_GT(tp->snd_max, tp->snd_una) || in rack_do_segment_nounlock()
16960 if ((tp->snd_max == tp->snd_una) && in rack_do_segment_nounlock()
17411 rack_log_hybrid_bw(rack, rack->rc_tp->snd_max, in pace_to_fill_cwnd()
18899 tp->snd_nxt = tp->snd_max; in rack_fast_rsm_output()
19024 (tp->snd_max - tp->snd_una))) { in rack_sndbuf_autoscale()
19096 startseq = tp->snd_max; in rack_fast_output()
19182 sb_offset = tp->snd_max - tp->snd_una; in rack_fast_output()
19183 th->th_seq = htonl(tp->snd_max); in rack_fast_output()
19444 (((tp->snd_max + len) - rack->r_ctl.lt_seq) > 0x7fffffff)) { in rack_fast_output()
19460 rack_log_output(tp, &to, len, tp->snd_max, flags, error, rack_to_usec_ts(tv), in rack_fast_output()
19462 if (tp->snd_una == tp->snd_max) { in rack_fast_output()
19473 rack_start_gp_measurement(tp, rack, tp->snd_max, sb_offset); in rack_fast_output()
19474 tp->snd_max += len; in rack_fast_output()
19475 tp->snd_nxt = tp->snd_max; in rack_fast_output()
19477 rack_new_round_starts(tp, rack, tp->snd_max); in rack_fast_output()
19545 rack->r_ctl.fsb.m = sbsndmbuf(sb, (tp->snd_max - tp->snd_una), &rack->r_ctl.fsb.off); in rack_setup_fast_output()
19562 KASSERT((rack->r_ctl.fsb.left_to_send <= (sbavail(sb) - (tp->snd_max - tp->snd_una))), in rack_setup_fast_output()
19565 (tp->snd_max - tp->snd_una))); in rack_setup_fast_output()
19569 if (rack->r_ctl.fsb.left_to_send == (sbavail(sb) - (tp->snd_max - tp->snd_una))) in rack_setup_fast_output()
19765 SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN|ACK sent */ in rack_output()
19912 SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */ in rack_output()
19926 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in rack_output()
19938 if ((tp->snd_una == tp->snd_max) && in rack_output()
20051 sb_offset = tp->snd_max - tp->snd_una; in rack_output()
20167 (SEQ_GT(tp->snd_max, tp->snd_una)) && in rack_output()
20344 if (SEQ_GT(tp->snd_max, tp->snd_una) && avail) in rack_output()
20345 sb_offset = tp->snd_max - tp->snd_una; in rack_output()
20398 outstanding = tp->snd_max - tp->snd_una; in rack_output()
20476 SEQ_GT(tp->snd_max, tp->snd_una) && in rack_output()
20533 (tp->snd_una == tp->snd_max) && in rack_output()
20558 if (tp->snd_max == tp->snd_una) { in rack_output()
20675 outstanding = tp->snd_max - tp->snd_una; in rack_output()
20718 if ((tp->snd_una == tp->snd_max) && len) { /* Nothing outstanding */ in rack_output()
20833 (tp->snd_max == tp->snd_una)) { in rack_output()
20849 (sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
20850 ((tp->snd_max - tp->snd_una) <= segsiz)) { in rack_output()
20890 if (SEQ_GT(tp->snd_max, tp->snd_nxt)) in rack_output()
20891 tp->snd_nxt = tp->snd_max; in rack_output()
21001 SEQ_GT(tp->gput_ack, tp->snd_max)) { in rack_output()
21002 tp->gput_ack = tp->snd_max; in rack_output()
21040 if ((tp->snd_max == tp->snd_una) && in rack_output()
21112 (sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
21113 ((tp->snd_max - tp->snd_una) <= segsiz)) { in rack_output()
21179 rack_seq = tp->snd_max - 1; in rack_output()
21181 rack_seq = tp->snd_max; in rack_output()
21263 (tp->snd_una == tp->snd_max) && in rack_output()
21449 if ((sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
21450 ((tp->snd_max - tp->snd_una) <= segsiz)) { in rack_output()
22162 (tp->snd_una == tp->snd_max)) in rack_output()
22170 tcp_seq startseq = tp->snd_max; in rack_output()
22203 if ((tp->snd_una == tp->snd_max) && (len > 0)) { in rack_output()
22217 tp->snd_max++; in rack_output()
22222 tp->snd_max++; in rack_output()
22226 tp->snd_max += len; in rack_output()
22228 rack_new_round_starts(tp, rack, tp->snd_max); in rack_output()
22261 rack->r_ctl.fsb.m = sbsndmbuf(sb, (tp->snd_max - tp->snd_una), &rack->r_ctl.fsb.off); in rack_output()
22282 sb_offset = tp->snd_max - tp->snd_una; in rack_output()
22301 sb_offset = tp->snd_max - tp->snd_una; in rack_output()
22472 } else if (SEQ_GEQ(tp->snd_max, rack->r_ctl.rc_snd_max_at_rto)) { in rack_output()
22483 SEQ_GT(tp->snd_max, rack->r_ctl.rc_snd_max_at_rto)) { in rack_output()
22551 if (SEQ_GT(tp->snd_max, tp->snd_nxt)) in rack_output()
22552 tp->snd_nxt = tp->snd_max; in rack_output()
22608 rack->r_ctl.rc_snd_max_at_rto = tp->snd_max; in rack_mtu_change()
22617 tp->snd_nxt = tp->snd_max; in rack_mtu_change()