Searched refs:abs_cost_to_cost (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 712 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() function 718 * The inverse of abs_cost_to_cost(). Must round up. 1316 abs_cost_to_cost(iocg->abs_vdebt, hwa) - now->vnow; in iocg_kick_delay() 1405 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn() 1450 u64 vpay = abs_cost_to_cost(abs_vpay, hwa); in iocg_kick_waitq() 1470 s64 vdebt = abs_cost_to_cost(iocg->abs_vdebt, hwa); in iocg_kick_waitq() 2440 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost() 2476 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 704 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() function 710 * The inverse of abs_cost_to_cost(). Must round up. 1373 abs_cost_to_cost(iocg->abs_vdebt, hwa) - now->vnow; in iocg_kick_delay() 1462 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn() 1507 u64 vpay = abs_cost_to_cost(abs_vpay, hwa); in iocg_kick_waitq() 1527 s64 vdebt = abs_cost_to_cost(iocg->abs_vdebt, hwa); in iocg_kick_waitq() 2469 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost() 2505 cost = abs_cost_to_cost(abs_cost, hwi); in adjust_inuse_and_calc_cost()
|
Completed in 10 milliseconds