Lines Matching refs:now
314 u_int64_t now)
334 c->vars.ldelay = now - *enqueue_time;
347 c->vars.first_above_time = now + c->params.interval;
350 if (codel_time_after(now, c->vars.first_above_time))
394 u_int64_t now;
402 now = read_machclk();
403 drop = codel_should_drop(c, q, m, now);
408 } else if (codel_time_after_eq(now, c->vars.drop_next)) {
414 * that the next drop should happen now,
418 codel_time_after_eq(now, c->vars.drop_next)) {
427 if (!codel_should_drop(c, q, m, now))
444 drop = codel_should_drop(c, q, m, now);
449 * last cycle is a good starting point to control it now.
451 if (codel_time_before(now - c->vars.drop_next,
464 c->vars.drop_next = codel_control_law(now, c->params.interval,