Searched refs:psched_l2t_ns (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/net/sched/ |
| D | sch_tbf.c | 229 ptoks -= (s64) psched_l2t_ns(&q->peak, len); in tbf_dequeue() 234 toks -= (s64) psched_l2t_ns(&q->rate, len); in tbf_dequeue() 335 buffer = psched_l2t_ns(&rate, max_size); in tbf_change() 354 mtu = psched_l2t_ns(&peak, pburst); in tbf_change()
|
| D | act_police.c | 180 new->tcfp_mtu_ptoks = (s64)psched_l2t_ns(&new->peak, in tcf_police_init() 253 ptoks -= (s64)psched_l2t_ns(&p->peak, in tcf_police_act() 259 toks -= (s64)psched_l2t_ns(&p->rate, qdisc_pkt_len(skb)); in tcf_police_act()
|
| D | sch_htb.c | 624 toks -= (s64) psched_l2t_ns(&cl->rate, bytes); in htb_accnt_tokens() 637 toks -= (s64) psched_l2t_ns(&cl->ceil, bytes); in htb_accnt_ctokens()
|
| /Linux-v5.4/include/net/ |
| D | sch_generic.h | 1231 static inline u64 psched_l2t_ns(const struct psched_ratecfg *r, in psched_l2t_ns() function
|