Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/sched/
Drt.c13 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);
15 struct rt_bandwidth def_rt_bandwidth;
19 struct rt_bandwidth *rt_b = in sched_rt_period_timer()
20 container_of(timer, struct rt_bandwidth, rt_period_timer); in sched_rt_period_timer()
38 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth()
50 static void start_rt_bandwidth(struct rt_bandwidth *rt_b) in start_rt_bandwidth()
104 static void destroy_rt_bandwidth(struct rt_bandwidth *rt_b) in destroy_rt_bandwidth()
141 destroy_rt_bandwidth(&tg->rt_bandwidth); in free_rt_sched_group()
194 init_rt_bandwidth(&tg->rt_bandwidth, in alloc_rt_sched_group()
209 rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime; in alloc_rt_sched_group()
[all …]
Dsched.h128 struct rt_bandwidth { struct
249 struct rt_bandwidth rt_bandwidth; member
1293 extern struct rt_bandwidth def_rt_bandwidth;
1294 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);
Dcore.c3558 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
7154 init_rt_bandwidth(&root_task_group.rt_bandwidth, in sched_init()
7621 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()
7622 runtime = tg->rt_bandwidth.rt_runtime; in tg_rt_schedulable()
7653 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()
7654 runtime = child->rt_bandwidth.rt_runtime; in tg_rt_schedulable()
7709 raw_spin_lock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()
7710 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()
7711 tg->rt_bandwidth.rt_runtime = rt_runtime; in tg_set_rt_bandwidth()
7720 raw_spin_unlock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()
[all …]