Lines Matching refs:runtime_remaining
5242 min_amount = target_runtime - cfs_rq->runtime_remaining; in __assign_cfs_rq_runtime()
5256 cfs_rq->runtime_remaining += amount; in __assign_cfs_rq_runtime()
5258 return cfs_rq->runtime_remaining > 0; in __assign_cfs_rq_runtime()
5277 cfs_rq->runtime_remaining -= delta_exec; in __account_cfs_rq_runtime()
5279 if (likely(cfs_rq->runtime_remaining > 0)) in __account_cfs_rq_runtime()
5548 SCHED_WARN_ON(cfs_rq->runtime_remaining > 0); in distribute_cfs_runtime()
5551 runtime = -cfs_rq->runtime_remaining + 1; in distribute_cfs_runtime()
5558 cfs_rq->runtime_remaining += runtime; in distribute_cfs_runtime()
5561 if (cfs_rq->runtime_remaining > 0) in distribute_cfs_runtime()
5688 s64 slack_runtime = cfs_rq->runtime_remaining - min_cfs_rq_runtime; in __return_cfs_rq_runtime()
5705 cfs_rq->runtime_remaining -= slack_runtime; in __return_cfs_rq_runtime()
5768 if (cfs_rq->runtime_remaining <= 0) in check_enqueue_throttle()
5795 if (likely(!cfs_rq->runtime_enabled || cfs_rq->runtime_remaining > 0)) in check_cfs_rq_runtime()
5963 cfs_rq->runtime_remaining = 1; in unthrottle_offline_cfs_rqs()