Searched refs:rate_bytes_ps (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/net/sched/ |
D | sch_tbf.c | 128 u64 len = time_in_ns * r->rate_bytes_ps; in psched_ns_t2l() 226 return q->peak.rate_bytes_ps; in tbf_peak_present() 360 if (peak.rate_bytes_ps <= rate.rate_bytes_ps) { in tbf_change() 362 peak.rate_bytes_ps, rate.rate_bytes_ps); in tbf_change() 471 if (q->rate.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 472 nla_put_u64(skb, TCA_TBF_RATE64, q->rate.rate_bytes_ps)) in tbf_dump() 475 q->peak.rate_bytes_ps >= (1ULL << 32) && in tbf_dump() 476 nla_put_u64(skb, TCA_TBF_PRATE64, q->peak.rate_bytes_ps)) in tbf_dump()
|
D | sch_generic.c | 964 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute() 980 if (r->rate_bytes_ps > 0) { in psched_ratecfg_precompute() 984 r->mult = div64_u64(factor, r->rate_bytes_ps); in psched_ratecfg_precompute()
|
D | sch_htb.c | 1123 if ((cl->rate.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1124 nla_put_u64(skb, TCA_HTB_RATE64, cl->rate.rate_bytes_ps)) in htb_dump_class() 1126 if ((cl->ceil.rate_bytes_ps >= (1ULL << 32)) && in htb_dump_class() 1127 nla_put_u64(skb, TCA_HTB_CEIL64, cl->ceil.rate_bytes_ps)) in htb_dump_class() 1492 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class()
|
/linux-4.1.27/include/net/ |
D | sch_generic.h | 769 u64 rate_bytes_ps; /* bytes per second */ member 800 res->rate = min_t(u64, r->rate_bytes_ps, ~0U); in psched_ratecfg_getrate()
|