Searched refs:rate_bytes_ps (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/net/sched/ |
D | sch_tbf.c | 128 u64 len = time_in_ns * r->rate_bytes_ps; in psched_ns_t2l() 228 return q->peak.rate_bytes_ps; in tbf_peak_present() 362 if (peak.rate_bytes_ps <= rate.rate_bytes_ps) { in tbf_change() 364 peak.rate_bytes_ps, rate.rate_bytes_ps); in tbf_change() 474 if (q->rate.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 475 nla_put_u64(skb, TCA_TBF_RATE64, q->rate.rate_bytes_ps)) in tbf_dump() 478 q->peak.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 479 nla_put_u64(skb, TCA_TBF_PRATE64, q->peak.rate_bytes_ps)) in tbf_dump()
|
D | sch_generic.c | 961 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute() 977 if (r->rate_bytes_ps > 0) { in psched_ratecfg_precompute() 981 r->mult = div64_u64(factor, r->rate_bytes_ps); in psched_ratecfg_precompute()
|
D | sch_htb.c | 1124 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1125 nla_put_u64(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps)) in htb_dump_class() 1127 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1128 nla_put_u64(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps)) in htb_dump_class() 1488 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class()
|
/linux-4.4.14/include/net/ |
D | sch_generic.h | 777 u64 rate_bytes_ps; /* bytes per second */ member 808 res->rate = min_t(u64, r->rate_bytes_ps, ~0U); in psched_ratecfg_getrate()
|