Home
last modified time | relevance | path

Searched refs:wmax (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/cc/
H A Dcc_cubic.h103 theoretical_cubic_cwnd(int ticks_since_cong, uint32_t wmax, uint32_t smss) in theoretical_cubic_cwnd() argument
108 wmax_pkts = wmax / (double)smss; in theoretical_cubic_cwnd()
116 theoretical_reno_cwnd(int ticks_since_cong, int rtt_ticks, uint32_t wmax, in theoretical_reno_cwnd() argument
120 return ((wmax * 0.5) + ((ticks_since_cong / (float)rtt_ticks) * smss)); in theoretical_reno_cwnd()
124 theoretical_tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in theoretical_tf_cwnd() argument
128 return ((wmax * 0.8) + ((3 * 0.2) / (2 - 0.2) * in theoretical_tf_cwnd()
176 cubic_cwnd(hrtime_t nsecs_since_cong, uint32_t wmax, uint32_t smss, int64_t K) in cubic_cwnd() argument
212 cwnd = ((cwnd * CUBIC_C_FACTOR * smss) >> CUBIC_SHIFT_4) + wmax; in cubic_cwnd()
228 tf_cwnd(hrtime_t nsecs_since_cong, hrtime_t rtt_nsecs, uint32_t wmax, in tf_cwnd() argument
233 return (((wmax * CUBIC_BETA) + (((THREE_X_PT2 * nsecs_since_cong * in tf_cwnd()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dm_cc.c796 int wmin, wmax; in __m_cc_erase_in_line_sub() local
822 wmax = x - dx; /* Defaults */ in __m_cc_erase_in_line_sub()
836 wmax = w->_maxx; in __m_cc_erase_in_line_sub()
846 if (wmax > w->_last[y]) in __m_cc_erase_in_line_sub()
847 w->_last[y] = (short)wmax; in __m_cc_erase_in_line_sub()