Home
last modified time | relevance | path

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

/kernel/sched/
Dfair.c5210 void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b) in __refill_cfs_bandwidth_runtime() argument
5214 if (unlikely(cfs_b->quota == RUNTIME_INF)) in __refill_cfs_bandwidth_runtime()
5217 cfs_b->runtime += cfs_b->quota; in __refill_cfs_bandwidth_runtime()
5218 runtime = cfs_b->runtime_snap - cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5220 cfs_b->burst_time += runtime; in __refill_cfs_bandwidth_runtime()
5221 cfs_b->nr_burst++; in __refill_cfs_bandwidth_runtime()
5224 cfs_b->runtime = min(cfs_b->runtime, cfs_b->quota + cfs_b->burst); in __refill_cfs_bandwidth_runtime()
5225 cfs_b->runtime_snap = cfs_b->runtime; in __refill_cfs_bandwidth_runtime()
5234 static int __assign_cfs_rq_runtime(struct cfs_bandwidth *cfs_b, in __assign_cfs_rq_runtime() argument
5239 lockdep_assert_held(&cfs_b->lock); in __assign_cfs_rq_runtime()
[all …]
Dcore.c10820 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_set_cfs_bandwidth() local
10862 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10869 raw_spin_lock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
10870 cfs_b->period = ns_to_ktime(period); in tg_set_cfs_bandwidth()
10871 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10872 cfs_b->burst = burst; in tg_set_cfs_bandwidth()
10874 __refill_cfs_bandwidth_runtime(cfs_b); in tg_set_cfs_bandwidth()
10878 start_cfs_bandwidth(cfs_b); in tg_set_cfs_bandwidth()
10880 raw_spin_unlock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
11049 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_cfs_schedulable_down() local
[all …]
Dsched.h474 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
476 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
477 extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);