Searched refs:hw_inuse (Results 1 – 1 of 1) sorted by relevance
/block/ |
D | blk-iocost.c | 576 u32 hw_inuse; member 710 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument 712 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost() 718 static u64 cost_to_abs_cost(u64 cost, u32 hw_inuse) in cost_to_abs_cost() argument 720 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost() 1451 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn() 1526 current_hweight(iocg, NULL, &ctx.hw_inuse); in iocg_kick_waitq() 2264 u32 hw_active, hw_inuse; in ioc_timer_fn() local 2272 current_hweight(iocg, &hw_active, &hw_inuse); in ioc_timer_fn() 2297 if (hw_inuse < hw_active || in ioc_timer_fn() [all …]
|