Lines Matching refs:now
82 codel_dodequeue(struct dn_queue *q, aqm_time_t now, uint16_t *ok_to_drop)
115 sojourn_time = now - pkt_ts;
123 cst->first_above_time = now + cprms->interval;
124 } else if (now >= cst->first_above_time) {
140 aqm_time_t now;
145 now = AQM_UNOW;
147 m = codel_dodequeue(q, now, &ok_to_drop);
158 * happen now, hence the 'while' loop.
160 while (now >= cst->drop_next_time && cst->dropping) {
174 m = codel_dodequeue(q, now, &ok_to_drop);
198 m = codel_dodequeue(q, now, &ok_to_drop);
206 * control it now. ('drop_next' will be at most 'interval'
207 * later than the time of the last drop so 'now - drop_next'
209 * until now.)
211 cst->count = (cst->count > 2 && ((aqm_stime_t)now -
216 cst->drop_next_time = control_law(cst, cprms, now);