Home
last modified time | relevance | path

Searched refs:t_c (Results 1 – 2 of 2) sorted by relevance

/linux/net/sched/
H A Dsch_tbf.c110 s64 t_c; /* Time check-point */ member
289 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue()
307 q->t_c = now; in tbf_dequeue()
340 q->t_c = ktime_get_ns(); in tbf_reset()
495 q->t_c = ktime_get_ns(); in tbf_init()
H A Dsch_htb.c121 s64 t_c; /* checkpoint time */ member
524 * It computes cl's mode at time cl->t_c+diff and returns it. If mode
707 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_charge_class()
714 cl->tokens += diff; /* we moved t_c; update tokens */ in htb_charge_class()
717 cl->t_c = q->now; in htb_charge_class()
770 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_do_events()
1522 parent->t_c = ktime_get_ns(); in htb_parent_to_leaf()
1975 cl->t_c = ktime_get_ns(); in htb_change_class()