Searched refs:abs_cost (Results 1 – 1 of 1) sorted by relevance
568 u64 abs_cost; member704 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument706 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()718 u64 abs_cost, u64 cost) in iocg_commit_bio() argument726 local64_add(abs_cost, &gcs->abs_vusage); in iocg_commit_bio()1418 static void iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, in iocg_incur_debt() argument1431 if (!iocg->abs_vdebt && abs_cost) { in iocg_incur_debt()1436 iocg->abs_vdebt += abs_cost; in iocg_incur_debt()1439 local64_add(abs_cost, &gcs->abs_vusage); in iocg_incur_debt()1473 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()[all …]