Searched refs:rate_bytes_ps (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/net/sched/ |
D | sch_tbf.c | 128 u64 len = time_in_ns * r->rate_bytes_ps; in psched_ns_t2l() 210 return q->peak.rate_bytes_ps; in tbf_peak_present() 347 if (peak.rate_bytes_ps <= rate.rate_bytes_ps) { in tbf_change() 349 peak.rate_bytes_ps, rate.rate_bytes_ps); in tbf_change() 465 if (q->rate.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 466 nla_put_u64_64bit(skb, TCA_TBF_RATE64, q->rate.rate_bytes_ps, in tbf_dump() 470 q->peak.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 471 nla_put_u64_64bit(skb, TCA_TBF_PRATE64, q->peak.rate_bytes_ps, in tbf_dump()
|
D | sch_htb.c | 1119 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1120 nla_put_u64_64bit(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps, in htb_dump_class() 1123 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1124 nla_put_u64_64bit(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps, in htb_dump_class() 1484 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class()
|
D | sch_generic.c | 1294 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute() 1310 if (r->rate_bytes_ps > 0) { in psched_ratecfg_precompute() 1314 r->mult = div64_u64(factor, r->rate_bytes_ps); in psched_ratecfg_precompute()
|
/Linux-v4.19/include/net/ |
D | sch_generic.h | 1057 u64 rate_bytes_ps; /* bytes per second */ member 1088 res->rate = min_t(u64, r->rate_bytes_ps, ~0U); in psched_ratecfg_getrate()
|