Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/block/
H A Dblk-iocost.c578 u32 hw_inuse; member
709 * Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical
712 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument
714 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
720 static u64 cost_to_abs_cost(u64 cost, u32 hw_inuse) in cost_to_abs_cost() argument
722 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
1405 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
1476 * the next one. As paying off debt restores hw_inuse, it must be read in iocg_kick_waitq()
1480 current_hweight(iocg, NULL, &ctx.hw_inuse); in iocg_kick_waitq()
2201 u32 usage, hw_active, hw_inuse; in ioc_timer_fn() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iocost.c574 u32 hw_inuse; member
701 * Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical
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()
1462 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
1533 * the next one. As paying off debt restores hw_inuse, it must be read in iocg_kick_waitq()
1537 current_hweight(iocg, NULL, &ctx.hw_inuse); in iocg_kick_waitq()
2271 u32 hw_active, hw_inuse; in ioc_timer_fn() local
[all...]

Completed in 12 milliseconds