Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dfair.c5126 void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b) in __refill_cfs_bandwidth_runtime() argument
5130 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5133 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5134 runtime = cfs_b->runtime_snap - cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5136 cfs_b->burst_time += runtime; in __refill_cfs_bandwidth_runtime()
5137 cfs_b->nr_burst++; in __refill_cfs_bandwidth_runtime()
5140 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5141 cfs_b->runtime_snap = cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5150 static int __assign_cfs_rq_runtime(struct cfs_bandwidth *cfs_b, in __assign_cfs_rq_runtime() argument
5155 lockdep_assert_held(&cfs_b->lock); in __assign_cfs_rq_runtime()
[all …]
Dcore.c10568 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_set_cfs_bandwidth() local
10610 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10617 raw_spin_lock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
10618 cfs_b->period = ns_to_ktime(period); in tg_set_cfs_bandwidth()
10619 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10620 cfs_b->burst = burst; in tg_set_cfs_bandwidth()
10622 __refill_cfs_bandwidth_runtime(cfs_b); in tg_set_cfs_bandwidth()
10626 start_cfs_bandwidth(cfs_b); in tg_set_cfs_bandwidth()
10628 raw_spin_unlock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
10797 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_cfs_schedulable_down() local
[all …]
Dsched.h463 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
465 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
466 extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);