Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-iocost.c574 u32 hw_inuse; member
704 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument
706 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
712 static u64 cost_to_abs_cost(u64 cost, u32 hw_inuse) in cost_to_abs_cost() argument
714 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
1466 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
1541 current_hweight(iocg, NULL, &ctx.hw_inuse); in iocg_kick_waitq()
2277 u32 hw_active, hw_inuse; in ioc_timer_fn() local
2285 current_hweight(iocg, &hw_active, &hw_inuse); in ioc_timer_fn()
2310 if (hw_inuse < hw_active || in ioc_timer_fn()
[all …]