Searched refs:rt_b (Results 1 – 2 of 2) sorted by relevance
12 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() local26 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() argument39 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 …]
1062 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);