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

/linux-4.1.27/net/sched/
H A Dsch_tbf.c113 s64 t_c; /* Time check-point */ member in struct:tbf_sched_data
243 toks = min_t(s64, now - q->t_c, q->buffer); tbf_dequeue()
261 q->t_c = now; tbf_dequeue()
296 q->t_c = ktime_get_ns(); tbf_reset()
435 q->t_c = ktime_get_ns(); tbf_init()
H A Dsch_htb.c125 s64 t_c; /* checkpoint time */ member in struct:htb_class
486 * It computes cl's mode at time cl->t_c+diff and returns it. If mode
652 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); htb_charge_class()
659 cl->tokens += diff; /* we moved t_c; update tokens */ htb_charge_class()
662 cl->t_c = q->now; htb_charge_class()
712 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); htb_do_events()
1229 parent->t_c = ktime_get_ns(); htb_parent_to_leaf()
1460 cl->t_c = ktime_get_ns(); htb_change_class()

Completed in 79 milliseconds