Home
last modified time | relevance | path

Searched refs:mult (Results 1 – 1 of 1) sorted by relevance

/net/sched/
Dsch_generic.c1437 static void psched_ratecfg_precompute__(u64 rate, u32 *mult, u8 *shift) in psched_ratecfg_precompute__() argument
1441 *mult = 1; in psched_ratecfg_precompute__()
1448 *mult = div64_u64(factor, rate); in psched_ratecfg_precompute__()
1449 if (*mult & (1U << 31) || factor & (1ULL << 63)) in psched_ratecfg_precompute__()
1465 psched_ratecfg_precompute__(r->rate_bytes_ps, &r->mult, &r->shift); in psched_ratecfg_precompute()
1472 psched_ratecfg_precompute__(r->rate_pkts_ps, &r->mult, &r->shift); in psched_ppscfg_precompute()