Home
last modified time | relevance | path

Searched refs:abs_cost (Results 1 – 1 of 1) sorted by relevance

/block/
Dblk-iocost.c572 u64 abs_cost; member
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()
726 u64 abs_cost, u64 cost) in iocg_commit_bio() argument
734 local64_add(abs_cost, &gcs->abs_vusage); in iocg_commit_bio()
1353 static void iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, in iocg_incur_debt() argument
1366 if (!iocg->abs_vdebt && abs_cost) { in iocg_incur_debt()
1371 iocg->abs_vdebt += abs_cost; in iocg_incur_debt()
1374 local64_add(abs_cost, &gcs->abs_vusage); in iocg_incur_debt()
1405 u64 cost = abs_cost_to_cost(wait->abs_cost, ctx->hw_inuse); in iocg_wake_fn()
[all …]