Lines Matching refs:rt_period
28 overrun = hrtimer_forward_now(timer, rt_b->rt_period); in sched_rt_period_timer()
45 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth()
203 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group()
500 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
620 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period()
692 u64 rt_period; in do_balance_runtime() local
697 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime()
721 if (rt_rq->rt_runtime + diff > rt_period) in do_balance_runtime()
722 diff = rt_period - rt_rq->rt_runtime; in do_balance_runtime()
725 if (rt_rq->rt_runtime == rt_period) { in do_balance_runtime()
2687 u64 rt_period; member
2698 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()
2702 period = d->rt_period; in tg_rt_schedulable()
2731 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()
2735 period = d->rt_period; in tg_rt_schedulable()
2754 .rt_period = period, in __rt_schedulable()
2766 u64 rt_period, u64 rt_runtime) in tg_set_rt_bandwidth() argument
2778 if (rt_period == 0) in tg_set_rt_bandwidth()
2788 err = __rt_schedulable(tg, rt_period, rt_runtime); in tg_set_rt_bandwidth()
2793 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()
2812 u64 rt_runtime, rt_period; in sched_group_set_rt_runtime() local
2814 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime()
2821 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_runtime()
2838 u64 rt_runtime, rt_period; in sched_group_set_rt_period() local
2843 rt_period = rt_period_us * NSEC_PER_USEC; in sched_group_set_rt_period()
2846 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_period()
2853 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period()
2915 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()