Lines Matching refs:vbudget
577 s64 vbudget; member
1453 ctx->vbudget -= cost; in iocg_wake_fn()
1455 if (ctx->vbudget < 0) in iocg_wake_fn()
1484 s64 vbudget; in iocg_kick_waitq() local
1490 vbudget = now->vnow - atomic64_read(&iocg->vtime); in iocg_kick_waitq()
1493 if (pay_debt && iocg->abs_vdebt && vbudget > 0) { in iocg_kick_waitq()
1494 u64 abs_vbudget = cost_to_abs_cost(vbudget, hwa); in iocg_kick_waitq()
1503 vbudget -= vpay; in iocg_kick_waitq()
1517 vbudget = min_t(s64, 0, vbudget - vdebt); in iocg_kick_waitq()
1525 ctx.vbudget = vbudget; in iocg_kick_waitq()
1541 if (WARN_ON_ONCE(ctx.vbudget >= 0)) in iocg_kick_waitq()
1545 vshortage = -ctx.vbudget; in iocg_kick_waitq()