Home
last modified time | relevance | path

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

/block/
Dblk-iocost.c564 u64 vrate; member
763 u64 vrate = ioc->vtime_base_rate; in ioc_refresh_margins() local
765 margins->min = (period_us * MARGIN_MIN_PCT / 100) * vrate; in ioc_refresh_margins()
766 margins->low = (period_us * MARGIN_LOW_PCT / 100) * vrate; in ioc_refresh_margins()
767 margins->target = (period_us * MARGIN_TARGET_PCT / 100) * vrate; in ioc_refresh_margins()
987 u64 vrate = ioc->vtime_base_rate; in ioc_adjust_base_vrate() local
1004 if (vrate < vrate_min) { in ioc_adjust_base_vrate()
1005 vrate = div64_u64(vrate * (100 + VRATE_CLAMP_ADJ_PCT), 100); in ioc_adjust_base_vrate()
1006 vrate = min(vrate, vrate_min); in ioc_adjust_base_vrate()
1007 } else if (vrate > vrate_max) { in ioc_adjust_base_vrate()
[all …]