Searched refs:rt_bandwidth (Results 1 – 3 of 3) sorted by relevance
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()41 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth()53 static void start_rt_bandwidth(struct rt_bandwidth *rt_b) in start_rt_bandwidth()108 static void destroy_rt_bandwidth(struct rt_bandwidth *rt_b) in destroy_rt_bandwidth()145 destroy_rt_bandwidth(&tg->rt_bandwidth); in free_rt_sched_group()198 init_rt_bandwidth(&tg->rt_bandwidth, in alloc_rt_sched_group()213 rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime; in alloc_rt_sched_group()[all …]
138 struct rt_bandwidth { struct259 struct rt_bandwidth rt_bandwidth; member1302 extern struct rt_bandwidth def_rt_bandwidth;1303 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);
3926 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()7412 init_rt_bandwidth(&root_task_group.rt_bandwidth, in sched_init()7856 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()7857 runtime = tg->rt_bandwidth.rt_runtime; in tg_rt_schedulable()7888 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()7889 runtime = child->rt_bandwidth.rt_runtime; in tg_rt_schedulable()7944 raw_spin_lock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()7945 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()7946 tg->rt_bandwidth.rt_runtime = rt_runtime; in tg_set_rt_bandwidth()7955 raw_spin_unlock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()[all …]