Lines Matching refs:snd_wnd
5358 rack->r_ctl.rc_gp_high_rwnd = rack->rc_tp->snd_wnd; in rack_do_goodput_measurement()
5481 ((int32_t)rack->r_ctl.cwnd_to_use) - tp->snd_wnd); in rack_ack_received()
5508 if (tp->snd_cwnd <= tp->snd_wnd) in rack_ack_received()
5770 min(tp->snd_wnd, rack->r_ctl.cwnd_to_use) / 2 / in rack_cong_signal()
7189 if ((out > tp->snd_wnd) || rack->rc_has_collapsed) { in rack_timeout_tlp()
7229 if ((amm + out) > tp->snd_wnd) { in rack_timeout_tlp()
7240 if (out + amm <= tp->snd_wnd) { in rack_timeout_tlp()
7249 if (out + amm <= tp->snd_wnd) in rack_timeout_tlp()
7635 if (tp->snd_ssthresh < tp->snd_wnd) { in rack_cc_conn_init()
7636 tp->snd_ssthresh = tp->snd_wnd; in rack_cc_conn_init()
8587 if (rack->rc_tp->snd_wnd > rack->r_ctl.rc_gp_high_rwnd) in tcp_rack_xmit_timer()
8588 rack->r_ctl.rc_gp_high_rwnd = rack->rc_tp->snd_wnd; in tcp_rack_xmit_timer()
11200 (tp->snd_wnd > max((segsiz * (rack_req_segs + 2)), minseg)) && in rack_check_bottom_drag()
11549 (tp->snd_wnd - (tp->snd_max - tp->snd_una))); in rack_gain_for_fastoutput()
11827 (tiwin == tp->snd_wnd) && in rack_process_ack()
11975 tp->snd_wnd -= acked_amount; in rack_process_ack()
12093 (rack->r_ctl.last_collapse_point != (th_ack + rack->rc_tp->snd_wnd))) in rack_collapsed_window()
12095 rack->r_ctl.last_collapse_point = th_ack + rack->rc_tp->snd_wnd; in rack_collapsed_window()
12195 if ((out + rack->r_ctl.fsb.left_to_send) > tp->snd_wnd) { in rack_validate_fo_sendwin_up()
12197 if (out >= tp->snd_wnd) { in rack_validate_fo_sendwin_up()
12202 rack->r_ctl.fsb.left_to_send = tp->snd_wnd - out; in rack_validate_fo_sendwin_up()
12237 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in rack_process_data()
12240 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) in rack_process_data()
12242 tp->snd_wnd = tiwin; in rack_process_data()
12246 if (tp->snd_wnd > tp->max_sndwnd) in rack_process_data()
12247 tp->max_sndwnd = tp->snd_wnd; in rack_process_data()
12250 if ((tp->snd_wl2 == th->th_ack) && (tiwin < tp->snd_wnd)) { in rack_process_data()
12251 tp->snd_wnd = tiwin; in rack_process_data()
12257 if (tp->snd_wnd < ctf_outstanding(tp)) in rack_process_data()
12267 (tp->snd_wnd >= min((rack->r_ctl.rc_high_rwnd/2), in rack_process_data()
12276 (tp->snd_wnd < min((rack->r_ctl.rc_high_rwnd/2), rack->r_ctl.rc_pace_min_segs)) && in rack_process_data()
12280 (sbavail(&tptosocket(tp)->so_snd) > tp->snd_wnd)) { in rack_process_data()
12534 if (tiwin && tiwin != tp->snd_wnd) { in rack_do_fastnewdata()
12688 if (tiwin != tp->snd_wnd) { in rack_fastack()
12689 tp->snd_wnd = tiwin; in rack_fastack()
12692 if (tp->snd_wnd > tp->max_sndwnd) in rack_fastack()
12693 tp->max_sndwnd = tp->snd_wnd; in rack_fastack()
12697 (tp->snd_wnd >= min((rack->r_ctl.rc_high_rwnd/2), in rack_fastack()
12703 (tp->snd_wnd < min((rack->r_ctl.rc_high_rwnd/2), rack->r_ctl.rc_pace_min_segs)) && in rack_fastack()
12707 (sbavail(&tptosocket(tp)->so_snd) > tp->snd_wnd)) { in rack_fastack()
12790 if (tp->snd_wnd < ctf_outstanding(tp)) { in rack_fastack()
13164 tp->snd_wnd = tiwin; in rack_do_syn_recv()
14176 rack->r_ctl.rc_high_rwnd = tp->snd_wnd; in rack_deferred_init()
15296 (tp->snd_wl2 == ack && tiwin > tp->snd_wnd))))) { in rack_do_win_updates()
15298 if ((tp->snd_wl2 == ack) && (tiwin > tp->snd_wnd)) in rack_do_win_updates()
15300 tp->snd_wnd = tiwin; in rack_do_win_updates()
15304 if (tp->snd_wnd > tp->max_sndwnd) in rack_do_win_updates()
15305 tp->max_sndwnd = tp->snd_wnd; in rack_do_win_updates()
15307 } else if ((tp->snd_wl2 == ack) && (tiwin < tp->snd_wnd)) { in rack_do_win_updates()
15308 tp->snd_wnd = tiwin; in rack_do_win_updates()
15316 if (tp->snd_wnd > tp->max_sndwnd) in rack_do_win_updates()
15317 tp->max_sndwnd = tp->snd_wnd; in rack_do_win_updates()
15320 (tp->snd_wnd >= min((rack->r_ctl.rc_high_rwnd/2), in rack_do_win_updates()
15326 (tp->snd_wnd < min((rack->r_ctl.rc_high_rwnd/2), rack->r_ctl.rc_pace_min_segs)) && in rack_do_win_updates()
15330 (sbavail(&tptosocket(tp)->so_snd) > tp->snd_wnd)) { in rack_do_win_updates()
15509 (tiwin == rack->rc_tp->snd_wnd)) || in rack_handle_probe_response()
15748 the_win = tp->snd_wnd; in rack_do_compressed_ack_processing()
15911 if (tiwin != tp->snd_wnd) { 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()
16767 tp->snd_wnd = th->th_win; in rack_do_segment_nounlock()
17291 if ((ctf_outstanding(rack->rc_tp) + (segsiz-1)) > rack->rc_tp->snd_wnd) in pace_to_fill_cwnd()
17317 if (fill_bw > rack->rc_tp->snd_wnd) in pace_to_fill_cwnd()
17318 fill_bw = rack->rc_tp->snd_wnd; in pace_to_fill_cwnd()
17529 if (rate_wanted > rack->rc_tp->snd_wnd) in rack_get_pacing_delay()
17530 rate_wanted = rack->rc_tp->snd_wnd; in rack_get_pacing_delay()
17846 rack->r_ctl.rc_gp_high_rwnd = rack->rc_tp->snd_wnd; in rack_start_gp_measurement()
18061 if (tp->snd_wnd > cwnd_to_use) in rack_what_can_we_send()
18064 sendwin = tp->snd_wnd; in rack_what_can_we_send()
18065 if (ctf_outstanding(tp) >= tp->snd_wnd) { in rack_what_can_we_send()
18081 if ((len + ctf_outstanding(tp)) > tp->snd_wnd) { in rack_what_can_we_send()
18083 len = tp->snd_wnd - ctf_outstanding(tp); in rack_what_can_we_send()
19017 sendwin = min(rack->r_ctl.cwnd_to_use, tp->snd_wnd); in rack_sndbuf_autoscale()
19019 if ((tp->snd_wnd / 4 * 5) >= so->so_snd.sb_hiwat && in rack_sndbuf_autoscale()
19602 if (rsm->r_end > (rack->rc_tp->snd_una + rack->rc_tp->snd_wnd)) { in rack_check_collapsed()
20031 if (tp->snd_wnd > ctf_outstanding(tp)) in rack_output()
20032 rw_avail = tp->snd_wnd - ctf_outstanding(tp); in rack_output()
20162 cwin = min(tp->snd_wnd, tlen); in rack_output()
20186 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in rack_output()
20312 tp->snd_cwnd, tp->snd_wnd, segsiz); in rack_output()
20354 if ((rack->r_ctl.rc_tlp_new_data + sb_offset) > tp->snd_wnd) { in rack_output()
20355 if (tp->snd_wnd > sb_offset) in rack_output()
20356 len = tp->snd_wnd - sb_offset; in rack_output()
20399 if ((rack->r_ctl.rc_prr_sndcnt + outstanding) > tp->snd_wnd) { in rack_output()
20400 if (tp->snd_wnd > outstanding) { in rack_output()
20401 len = tp->snd_wnd - outstanding; in rack_output()
20531 if ((tp->snd_wnd == 0) && in rack_output()
20545 if ((tp->snd_wnd < min((rack->r_ctl.rc_high_rwnd/2), minseg)) && in rack_output()
20580 } else if (((tp->snd_wnd - ctf_outstanding(tp)) < in rack_output()
20595 (tp->snd_wnd >= (pace_max_seg * max(1, rack_hw_rwnd_factor))) && in rack_output()
20730 if (((tp->snd_wnd - ctf_outstanding(tp)) < segsiz) && in rack_output()
20911 minseg)) >= tp->snd_wnd) { in rack_output()
21043 (sbavail(sb) > tp->snd_wnd) && in rack_output()
21044 (tp->snd_wnd < min((rack->r_ctl.rc_high_rwnd/2), minseg))) { in rack_output()
24380 ti->tcpi_snd_wnd = tp->snd_wnd; in rack_fill_info()