Lines Matching defs:now
95 static u32 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now)
97 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count);
119 ktime_t now = stamp ? *stamp : ktime_get_real();
127 if (ccid3_hc_tx_idle_rtt(hc, now) >= 2) {
137 } else if (ktime_us_delta(now, hc->tx_t_ld) - (s64)hc->tx_rtt >= 0) {
142 hc->tx_t_ld = now;
177 ktime_t now)
179 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count),
183 hc->tx_t_last_win_count = now;
276 ktime_t now = ktime_get_real();
291 hc->tx_t_last_win_count = now;
294 hc->tx_t_nom = now;
307 hc->tx_t_ld = now;
324 delay = ktime_us_delta(hc->tx_t_nom, now);
330 * // send the packet now
337 ccid3_hc_tx_update_win_count(hc, now);
340 /* prepare to send now (add options etc.) */
363 ktime_t now;
386 now = ktime_get_real();
387 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp));
401 hc->tx_t_ld = now;
417 ccid3_hc_tx_update_x(sk, &now);
432 * that we now can send a packet, so wake up dccp_wait_for_ccid
595 ktime_t now = ktime_get();
618 delta = ktime_us_delta(now, hc->rx_tstamp_last_feedback);
630 hc->rx_tstamp_last_feedback = now;
772 * has decreased (resp. p has increased), send feedback now.