Searched refs:rt_bandwidth (Results 1 – 3 of 3) sorted by relevance
10 static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);12 struct rt_bandwidth def_rt_bandwidth;16 struct rt_bandwidth *rt_b = in sched_rt_period_timer()17 container_of(timer, struct rt_bandwidth, rt_period_timer); in sched_rt_period_timer()35 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth()47 static void start_rt_bandwidth(struct rt_bandwidth *rt_b) in start_rt_bandwidth()88 static void destroy_rt_bandwidth(struct rt_bandwidth *rt_b) in destroy_rt_bandwidth()118 destroy_rt_bandwidth(&tg->rt_bandwidth); in free_rt_sched_group()171 init_rt_bandwidth(&tg->rt_bandwidth, in alloc_rt_sched_group()186 rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime; in alloc_rt_sched_group()[all …]
66 struct rt_bandwidth { struct121 struct rt_bandwidth rt_bandwidth; member873 extern struct rt_bandwidth def_rt_bandwidth;874 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);
4367 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()7172 init_rt_bandwidth(&root_task_group.rt_bandwidth, in sched_init()7607 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()7608 runtime = tg->rt_bandwidth.rt_runtime; in tg_rt_schedulable()7639 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()7640 runtime = child->rt_bandwidth.rt_runtime; in tg_rt_schedulable()7684 raw_spin_lock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()7685 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()7686 tg->rt_bandwidth.rt_runtime = rt_runtime; in tg_set_rt_bandwidth()7695 raw_spin_unlock_irq(&tg->rt_bandwidth.rt_runtime_lock); in tg_set_rt_bandwidth()[all …]