Lines Matching refs:now
197 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) in ccid2_cwnd_application_limited() argument
210 hc->tx_cwnd_stamp = now; in ccid2_cwnd_application_limited()
216 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) in ccid2_cwnd_restart() argument
226 cwnd >>= (now - hc->tx_lsndtime) / hc->tx_rto; in ccid2_cwnd_restart()
229 hc->tx_cwnd_stamp = now; in ccid2_cwnd_restart()
239 const u32 now = ccid2_time_stamp; in ccid2_hc_tx_packet_sent() local
244 (s32)(now - hc->tx_lsndtime) >= hc->tx_rto) in ccid2_hc_tx_packet_sent()
245 ccid2_cwnd_restart(sk, now); in ccid2_hc_tx_packet_sent()
247 hc->tx_lsndtime = now; in ccid2_hc_tx_packet_sent()
254 hc->tx_cwnd_stamp = now; in ccid2_hc_tx_packet_sent()
261 if (ccid2_do_cwv && (s32)(now - hc->tx_cwnd_stamp) >= hc->tx_rto) in ccid2_hc_tx_packet_sent()
262 ccid2_cwnd_application_limited(sk, now); in ccid2_hc_tx_packet_sent()
267 hc->tx_seqh->ccid2s_sent = now; in ccid2_hc_tx_packet_sent()