Searched refs:rt_b (Results 1 – 2 of 2) sorted by relevance
13 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);19 struct rt_bandwidth *rt_b = in sched_rt_period_timer() local27 overrun = hrtimer_forward(timer, now, rt_b->rt_period); in sched_rt_period_timer()32 idle = do_sched_rt_period_timer(rt_b, overrun); in sched_rt_period_timer()38 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth() argument40 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth()41 rt_b->rt_runtime = runtime; in init_rt_bandwidth()43 raw_spin_lock_init(&rt_b->rt_runtime_lock); in init_rt_bandwidth()45 hrtimer_init(&rt_b->rt_period_timer, in init_rt_bandwidth()47 rt_b->rt_period_timer.function = sched_rt_period_timer; in init_rt_bandwidth()[all …]
1294 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);