Lines Matching refs:rt_bandwidth
13 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()
441 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
539 struct rt_rq *sched_rt_period_rt_rq(struct rt_bandwidth *rt_b, int cpu) in sched_rt_period_rt_rq()
541 return container_of(rt_b, struct task_group, rt_bandwidth)->rt_rq[cpu]; in sched_rt_period_rt_rq()
544 static inline struct rt_bandwidth *sched_rt_bandwidth(struct rt_rq *rt_rq) in sched_rt_bandwidth()
546 return &rt_rq->tg->rt_bandwidth; in sched_rt_bandwidth()
601 struct rt_rq *sched_rt_period_rt_rq(struct rt_bandwidth *rt_b, int cpu) in sched_rt_period_rt_rq()
606 static inline struct rt_bandwidth *sched_rt_bandwidth(struct rt_rq *rt_rq) in sched_rt_bandwidth()
615 struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); in sched_rt_bandwidth_account()
627 struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); in do_balance_runtime()
690 struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); in __disable_runtime()
774 struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); in __enable_runtime()
808 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun) in do_sched_rt_period_timer()
824 if (rt_b == &root_task_group.rt_bandwidth) in do_sched_rt_period_timer()
905 struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); in sched_rt_runtime_exceeded()
1105 start_rt_bandwidth(&rt_rq->tg->rt_bandwidth); in inc_rt_group()