Home
last modified time | relevance | path

Searched refs:rt_b (Results 1 – 2 of 2) sorted by relevance

/kernel/sched/
Drt.c12 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);
18 struct rt_bandwidth *rt_b = in sched_rt_period_timer() local
26 overrun = hrtimer_forward(timer, now, rt_b->rt_period); in sched_rt_period_timer()
31 idle = do_sched_rt_period_timer(rt_b, overrun); in sched_rt_period_timer()
37 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth() argument
39 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth()
40 rt_b->rt_runtime = runtime; in init_rt_bandwidth()
42 raw_spin_lock_init(&rt_b->rt_runtime_lock); in init_rt_bandwidth()
44 hrtimer_init(&rt_b->rt_period_timer, in init_rt_bandwidth()
46 rt_b->rt_period_timer.function = sched_rt_period_timer; in init_rt_bandwidth()
[all …]
Dsched.h1062 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);