Home
last modified time | relevance | path

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

/block/
Dblk-iocost.c957 s64 vcomp, vcomp_min, vcomp_max; in ioc_refresh_vrate() local
970 vcomp = -div64_s64(ioc->vtime_err, pleft); in ioc_refresh_vrate()
973 vcomp = clamp(vcomp, vcomp_min, vcomp_max); in ioc_refresh_vrate()
975 ioc->vtime_err += vcomp * pleft; in ioc_refresh_vrate()
977 atomic64_set(&ioc->vtime_rate, ioc->vtime_base_rate + vcomp); in ioc_refresh_vrate()