Home
last modified time | relevance | path

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

/kernel/sched/
Dcore.c10497 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument
10511 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
10525 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
10528 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
10529 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth()
10538 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
10542 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10543 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10552 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10587 u64 quota, period, burst; in tg_set_cfs_quota() local
[all …]
Dfair.c4888 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
4891 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
4892 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
4911 if (cfs_b->quota == RUNTIME_INF) in __assign_cfs_rq_runtime()
5263 if (cfs_b->quota == RUNTIME_INF) in do_sched_cfs_period_timer()
5373 if (cfs_b->quota != RUNTIME_INF) { in __return_cfs_rq_runtime()
5416 if (cfs_b->quota != RUNTIME_INF && cfs_b->runtime > slice) in do_sched_cfs_slack_timer()
5527 cfs_b->quota *= 2; in sched_cfs_period_timer()
5534 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
5540 div_u64(cfs_b->quota, NSEC_PER_USEC)); in sched_cfs_period_timer()
[all …]
Dsched.h370 u64 quota; member