Home
last modified time | relevance | path

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

/linux-5.19.10/block/
Dblk-iocost.c571 u32 hw_inuse; member
705 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument
707 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
713 static u64 cost_to_abs_cost(u64 cost, u32 hw_inuse) in cost_to_abs_cost() argument
715 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
1434 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
1509 current_hweight(iocg, NULL, &ctx.hw_inuse); in iocg_kick_waitq()
2241 u32 hw_active, hw_inuse; in ioc_timer_fn() local
2249 current_hweight(iocg, &hw_active, &hw_inuse); in ioc_timer_fn()
2274 if (hw_inuse < hw_active || in ioc_timer_fn()
[all …]