Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/sched/
Dfair.c3439 void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b) in __refill_cfs_bandwidth_runtime() argument
3443 if (cfs_b->quota == RUNTIME_INF) in __refill_cfs_bandwidth_runtime()
3447 cfs_b->runtime = cfs_b->quota; in __refill_cfs_bandwidth_runtime()
3448 cfs_b->runtime_expires = now + ktime_to_ns(cfs_b->period); in __refill_cfs_bandwidth_runtime()
3469 struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(tg); in assign_cfs_rq_runtime() local
3475 raw_spin_lock(&cfs_b->lock); in assign_cfs_rq_runtime()
3476 if (cfs_b->quota == RUNTIME_INF) in assign_cfs_rq_runtime()
3485 if (!cfs_b->timer_active) { in assign_cfs_rq_runtime()
3486 __refill_cfs_bandwidth_runtime(cfs_b); in assign_cfs_rq_runtime()
3487 __start_cfs_bandwidth(cfs_b, false); in assign_cfs_rq_runtime()
[all …]
Dcore.c8078 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_set_cfs_bandwidth() local
8110 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
8117 raw_spin_lock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
8118 cfs_b->period = ns_to_ktime(period); in tg_set_cfs_bandwidth()
8119 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
8121 __refill_cfs_bandwidth_runtime(cfs_b); in tg_set_cfs_bandwidth()
8123 if (runtime_enabled && cfs_b->timer_active) { in tg_set_cfs_bandwidth()
8125 __start_cfs_bandwidth(cfs_b, true); in tg_set_cfs_bandwidth()
8127 raw_spin_unlock_irq(&cfs_b->lock); in tg_set_cfs_bandwidth()
8252 struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth; in tg_cfs_schedulable_down() local
[all …]
Dsched.h305 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
308 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
309 extern void __start_cfs_bandwidth(struct cfs_bandwidth *cfs_b, bool force);