Home
last modified time | relevance | path

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

/kernel/sched/
Dcore.c11094 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument
11108 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
11122 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
11125 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
11126 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth()
11136 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
11140 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
11141 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
11151 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
11184 u64 quota, period, burst; in tg_set_cfs_quota() local
[all …]
Dfair.c5528 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5531 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5538 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5558 if (cfs_b->quota == RUNTIME_INF) in __assign_cfs_rq_runtime()
6024 if (cfs_b->quota == RUNTIME_INF) in do_sched_cfs_period_timer()
6132 if (cfs_b->quota != RUNTIME_INF) { in __return_cfs_rq_runtime()
6175 if (cfs_b->quota != RUNTIME_INF && cfs_b->runtime > slice) in do_sched_cfs_slack_timer()
6286 cfs_b->quota *= 2; in sched_cfs_period_timer()
6293 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
6299 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
[all …]
Dsched.h344 u64 quota; member