Lines Matching refs:srtt
455 bbr_calc_thresh_rack(struct tcp_bbr *bbr, uint32_t srtt, uint32_t cts,
461 struct bbr_sendmap *rsm, uint32_t srtt, uint32_t cts);
489 uint32_t time_since_sent, uint32_t srtt,
536 uint64_t srtt, var; in bbr_get_persists_timer_val() local
541 srtt = (uint64_t)BBR_INITIAL_RTO; in bbr_get_persists_timer_val()
544 srtt = ((uint64_t)TICKS_2_USEC(tp->t_srtt) >> TCP_RTT_SHIFT); in bbr_get_persists_timer_val()
547 TCPT_RANGESET_NOSLOP(ret_val, ((srtt + var) * tcp_backoff[tp->t_rxtshift]), in bbr_get_persists_timer_val()
561 uint32_t thresh, exp, to, srtt, time_since_sent, tstmp_touse; in bbr_timer_start() local
633 srtt = bbr_get_rtt(bbr, BBR_RTT_RACK); in bbr_timer_start()
634 thresh = bbr_calc_thresh_rack(bbr, srtt, cts, rsm); in bbr_timer_start()
672 srtt = bbr_get_rtt(bbr, bbr_tlp_type_to_use); in bbr_timer_start()
673 thresh = bbr_calc_thresh_tlp(tp, bbr, rsm, srtt, cts); in bbr_timer_start()
707 bbr_log_timer_var(bbr, 1, cts, time_since_sent, srtt, thresh, to); in bbr_timer_start()
2428 …log_timer_var(struct tcp_bbr *bbr, int mode, uint32_t cts, uint32_t time_since_sent, uint32_t srtt, in bbr_log_timer_var() argument
2437 log.u_bbr.flex3 = srtt; in bbr_log_timer_var()
2502 …truct tcp_bbr *bbr, uint32_t cts, uint32_t thresh, uint32_t lro, uint32_t srtt, struct bbr_sendmap… in bbr_log_thresh_choice() argument
2513 log.u_bbr.flex6 = srtt; in bbr_log_thresh_choice()
3532 uint32_t usecs, srtt, over = 0; in bbr_get_pacing_delay() local
3566 srtt = bbr_get_rtt(bbr, BBR_SRTT); in bbr_get_pacing_delay()
3569 (usecs > ((srtt * bbr_hptsi_max_mul) / bbr_hptsi_max_div))) { in bbr_get_pacing_delay()
3574 over = usecs = (srtt * bbr_hptsi_max_mul) / bbr_hptsi_max_div; in bbr_get_pacing_delay()
4065 bbr_calc_thresh_rack(struct tcp_bbr *bbr, uint32_t srtt, uint32_t cts, struct bbr_sendmap *rsm) in bbr_calc_thresh_rack() argument
4086 if (srtt == 0) in bbr_calc_thresh_rack()
4087 srtt = 1; in bbr_calc_thresh_rack()
4115 thresh = srtt + bbr->r_ctl.rc_pkt_delay; in bbr_calc_thresh_rack()
4119 thresh += (srtt >> bbr->r_ctl.rc_reorder_shift); in bbr_calc_thresh_rack()
4121 thresh += (srtt >> 2); in bbr_calc_thresh_rack()
4137 bbr_log_thresh_choice(bbr, cts, thresh, lro, srtt, rsm, BBR_TO_FRM_RACK); in bbr_calc_thresh_rack()
4148 struct bbr_sendmap *rsm, uint32_t srtt, in bbr_calc_thresh_tlp() argument
4154 if (srtt == 0) in bbr_calc_thresh_tlp()
4155 srtt = 1; in bbr_calc_thresh_tlp()
4157 thresh = srtt + (srtt / bbr->rc_tlp_threshold); in bbr_calc_thresh_tlp()
4159 thresh = (srtt * 2); in bbr_calc_thresh_tlp()
4187 alt_thresh = srtt + (srtt / 2) + bbr_delayed_ack_time; in bbr_calc_thresh_tlp()
4197 bbr_log_thresh_choice(bbr, cts, thresh, t_rxtcur, srtt, rsm, BBR_TO_FRM_TLP); in bbr_calc_thresh_tlp()
4220 uint32_t srtt; in bbr_get_rtt() local
4239 srtt = f_rtt; in bbr_get_rtt()
4242 srtt = bbr->r_ctl.rc_pkt_epoch_rtt; in bbr_get_rtt()
4245 srtt = f_rtt; in bbr_get_rtt()
4248 srtt = bbr->r_ctl.rc_last_rtt; in bbr_get_rtt()
4251 srtt += bbr->r_ctl.rc_ack_hdwr_delay; in bbr_get_rtt()
4253 srtt = (TICKS_2_USEC(bbr->rc_tp->t_srtt) >> TCP_RTT_SHIFT); in bbr_get_rtt()
4256 srtt = f_rtt; in bbr_get_rtt()
4261 return (srtt); in bbr_get_rtt()