Searched refs:wmax (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netinet/cc/ |
H A D | cc_cubic.h | 149 theoretical_cubic_cwnd(int ticks_since_epoch, unsigned long wmax, uint32_t smss) in theoretical_cubic_cwnd() argument 154 wmax_pkts = wmax / (double)smss; in theoretical_cubic_cwnd() 162 theoretical_reno_cwnd(int ticks_since_epoch, int rtt_ticks, unsigned long wmax, in theoretical_reno_cwnd() argument 166 return ((wmax * 0.5) + ((ticks_since_epoch / (float)rtt_ticks) * smss)); in theoretical_reno_cwnd() 170 theoretical_tf_cwnd(int ticks_since_epoch, int rtt_ticks, unsigned long wmax, in theoretical_tf_cwnd() argument 174 return ((wmax * 0.7) + ((3 * 0.3) / (2 - 0.3) * in theoretical_tf_cwnd() 222 cubic_cwnd(int usecs_since_epoch, unsigned long wmax, uint32_t smss, int64_t K) in cubic_cwnd() argument 247 cwnd = ((cwnd * CUBIC_C_FACTOR) >> CUBIC_SHIFT_4) * smss + wmax; in cubic_cwnd() 266 reno_cwnd(int usecs_since_epoch, int rtt_usecs, unsigned long wmax, in reno_cwnd() argument 275 return (((wmax * RENO_BETA) + (((usecs_since_epoch * smss) in reno_cwnd()
|
/freebsd/sys/netgraph/ |
H A D | ng_l2tp.c | 139 u_int16_t wmax; /* peer's max recv window */ member 1190 seq->wmax = priv->conf.peer_win; in ng_l2tp_seq_init() 1191 if (seq->wmax > L2TP_MAX_XWIN) in ng_l2tp_seq_init() 1192 seq->wmax = L2TP_MAX_XWIN; in ng_l2tp_seq_init() 1193 seq->ssth = seq->wmax; in ng_l2tp_seq_init() 1248 if (new_wmax < seq->wmax) in ng_l2tp_seq_adjust() 1250 seq->wmax = new_wmax; in ng_l2tp_seq_adjust() 1287 seq->wmax = L2TP_MAX_XWIN; in ng_l2tp_seq_reset() 1289 seq->ssth = seq->wmax; in ng_l2tp_seq_reset() 1336 if (seq->cwnd < seq->wmax) { in ng_l2tp_seq_recv_nr() [all …]
|
/freebsd/contrib/libedit/ |
H A D | tokenizer.c | 89 Char *wptr, *wmax; /* Space and limit on the word buffer */ in TYPE() local 148 tok->wmax = tok->wspace + WINCR; in TYPE() 407 if (tok->wptr >= tok->wmax - 4) { in FUN() 408 size_t size = (size_t)(tok->wmax - tok->wspace + WINCR); in FUN() 424 tok->wmax = s + size; in FUN()
|
/freebsd/lib/geom/part/ |
H A D | geom_part.c | 628 int idx, wblocks, wname, wmax; in gpart_show_geom() local 651 wmax = strlen(gp->lg_name); in gpart_show_geom() 655 if (wname > wmax) in gpart_show_geom() 656 wmax = wname; in gpart_show_geom() 659 wname = wmax; in gpart_show_geom()
|