Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dfair.c5703 void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b) in __refill_cfs_bandwidth_runtime() argument
5707 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5710 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5711 runtime = cfs_b->runtime_snap - cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5713 cfs_b->burst_time += runtime; in __refill_cfs_bandwidth_runtime()
5714 cfs_b->nr_burst++; in __refill_cfs_bandwidth_runtime()
5717 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5718 cfs_b->runtime_snap = cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5727 static int __assign_cfs_rq_runtime(struct cfs_bandwidth *cfs_b, in __assign_cfs_rq_runtime() argument
5732 lockdep_assert_held(&cfs_b->lock); in __assign_cfs_rq_runtime()
[all …]
H A Dcore.c9414 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_set_cfs_bandwidth() local
9457 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
9465 scoped_guard (raw_spinlock_irq, &cfs_b->lock) { in tg_set_cfs_bandwidth()
9466 cfs_b->period = ns_to_ktime(period); in tg_set_cfs_bandwidth()
9467 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
9468 cfs_b->burst = burst; in tg_set_cfs_bandwidth()
9470 __refill_cfs_bandwidth_runtime(cfs_b); in tg_set_cfs_bandwidth()
9477 start_cfs_bandwidth(cfs_b); in tg_set_cfs_bandwidth()
9643 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_cfs_schedulable_down() local
9673 cfs_b->hierarchical_quota = quota; in tg_cfs_schedulable_down()
[all …]
H A Dsched.h553 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b, struct cfs_bandwidth *parent);
555 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
556 extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);