Searched refs:abs_cost (Results 1 – 1 of 1) sorted by relevance
565 u64 abs_cost; member705 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument707 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()719 u64 abs_cost, u64 cost) in iocg_commit_bio() argument727 local64_add(abs_cost, &gcs->abs_vusage); in iocg_commit_bio()1382 static void iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, in iocg_incur_debt() argument1395 if (!iocg->abs_vdebt && abs_cost) { in iocg_incur_debt()1400 iocg->abs_vdebt += abs_cost; in iocg_incur_debt()1403 local64_add(abs_cost, &gcs->abs_vusage); in iocg_incur_debt()1434 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()[all …]