Home
last modified time | relevance | path

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

/kernel/sched/
Dcore.c10816 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument
10830 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
10844 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
10847 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
10848 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth()
10857 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
10861 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10862 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10871 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10906 u64 quota, period, burst; in tg_set_cfs_quota() local
[all …]
Dfair.c5214 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5217 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5224 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5244 if (cfs_b->quota == RUNTIME_INF) in __assign_cfs_rq_runtime()
5584 if (cfs_b->quota == RUNTIME_INF) in do_sched_cfs_period_timer()
5694 if (cfs_b->quota != RUNTIME_INF) { in __return_cfs_rq_runtime()
5737 if (cfs_b->quota != RUNTIME_INF && cfs_b->runtime > slice) in do_sched_cfs_slack_timer()
5848 cfs_b->quota *= 2; in sched_cfs_period_timer()
5855 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
5861 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
[all …]
Dsched.h349 u64 quota; member