Searched refs:abs_cost (Results 1 – 1 of 1) sorted by relevance
519 u64 abs_cost; member659 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument661 return DIV64_U64_ROUND_UP(abs_cost * HWEIGHT_WHOLE, hw_inuse); in abs_cost_to_cost()1121 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()1686 u64 abs_cost, cost, vtime; in ioc_rqos_throttle() local1697 abs_cost = calc_vtime_cost(bio, iocg, false); in ioc_rqos_throttle()1698 if (!abs_cost) in ioc_rqos_throttle()1716 cost = abs_cost_to_cost(abs_cost, hw_inuse); in ioc_rqos_throttle()1741 atomic64_add(abs_cost, &iocg->abs_vdebt); in ioc_rqos_throttle()1776 wait.abs_cost = abs_cost; in ioc_rqos_throttle()[all …]