Lines Matching defs:rt_bandwidth
156 struct rt_bandwidth {
164 static struct rt_bandwidth def_rt_bandwidth;
166 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);
170 struct rt_bandwidth *rt_b =
171 container_of(timer, struct rt_bandwidth, rt_period_timer);
190 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime)
207 static void start_rt_bandwidth(struct rt_bandwidth *rt_b)
238 static void destroy_rt_bandwidth(struct rt_bandwidth *rt_b)
274 struct rt_bandwidth rt_bandwidth;
4820 task_group(p)->rt_bandwidth.rt_runtime == 0) {
7838 rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime;
7906 init_rt_bandwidth(&init_task_group.rt_bandwidth,
8283 destroy_rt_bandwidth(&tg->rt_bandwidth);
8311 init_rt_bandwidth(&tg->rt_bandwidth,
8609 period = ktime_to_ns(tg->rt_bandwidth.rt_period);
8610 runtime = tg->rt_bandwidth.rt_runtime;
8641 period = ktime_to_ns(child->rt_bandwidth.rt_period);
8642 runtime = child->rt_bandwidth.rt_runtime;
8680 raw_spin_lock_irq(&tg->rt_bandwidth.rt_runtime_lock);
8681 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period);
8682 tg->rt_bandwidth.rt_runtime = rt_runtime;
8691 raw_spin_unlock_irq(&tg->rt_bandwidth.rt_runtime_lock);
8703 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period);
8715 if (tg->rt_bandwidth.rt_runtime == RUNTIME_INF)
8718 rt_runtime_us = tg->rt_bandwidth.rt_runtime;
8728 rt_runtime = tg->rt_bandwidth.rt_runtime;
8740 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period);
8774 if (rt_task(tsk) && tg->rt_bandwidth.rt_runtime == 0)