Lines Matching refs:now
194 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) in ccid2_cwnd_application_limited() argument
207 hc->tx_cwnd_stamp = now; in ccid2_cwnd_application_limited()
213 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) in ccid2_cwnd_restart() argument
223 cwnd >>= (now - hc->tx_lsndtime) / hc->tx_rto; in ccid2_cwnd_restart()
226 hc->tx_cwnd_stamp = now; in ccid2_cwnd_restart()
236 const u32 now = ccid2_time_stamp; in ccid2_hc_tx_packet_sent() local
241 (s32)(now - hc->tx_lsndtime) >= hc->tx_rto) in ccid2_hc_tx_packet_sent()
242 ccid2_cwnd_restart(sk, now); in ccid2_hc_tx_packet_sent()
244 hc->tx_lsndtime = now; in ccid2_hc_tx_packet_sent()
251 hc->tx_cwnd_stamp = now; in ccid2_hc_tx_packet_sent()
258 if (ccid2_do_cwv && (s32)(now - hc->tx_cwnd_stamp) >= hc->tx_rto) in ccid2_hc_tx_packet_sent()
259 ccid2_cwnd_application_limited(sk, now); in ccid2_hc_tx_packet_sent()
264 hc->tx_seqh->ccid2s_sent = now; in ccid2_hc_tx_packet_sent()