Home
last modified time | relevance | path

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

/openbmc/linux/kernel/sched/
H A Dfair.c5599 void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b) in __refill_cfs_bandwidth_runtime() argument
5603 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5606 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5607 runtime = cfs_b->runtime_snap - cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5609 cfs_b->burst_time += runtime; in __refill_cfs_bandwidth_runtime()
5610 cfs_b->nr_burst++; in __refill_cfs_bandwidth_runtime()
5613 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5614 cfs_b->runtime_snap = cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5623 static int __assign_cfs_rq_runtime(struct cfs_bandwidth *cfs_b, in __assign_cfs_rq_runtime() argument
5628 lockdep_assert_held(&cfs_b->lock); in __assign_cfs_rq_runtime()
[all …]
H A Dcore.c10869 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_set_cfs_bandwidth()
10912 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10920 scoped_guard (raw_spinlock_irq, &cfs_b->lock) { in tg_set_cfs_bandwidth()
10921 cfs_b->period = ns_to_ktime(period); in tg_set_cfs_bandwidth()
10922 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10923 cfs_b->burst = burst; in tg_set_cfs_bandwidth()
10925 __refill_cfs_bandwidth_runtime(cfs_b); in tg_set_cfs_bandwidth()
10932 start_cfs_bandwidth(cfs_b); in tg_set_cfs_bandwidth()
11098 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_cfs_schedulable_down()
11128 cfs_b in __cfs_schedulable()
10860 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; tg_set_cfs_bandwidth() local
11089 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; tg_cfs_schedulable_down() local
11148 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; cpu_cfs_stat_show() local
11309 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; cpu_extra_stat_show() local
[all...]
H A Dsched.h457 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b, struct cfs_bandwidth *parent);
459 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
460 extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);