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()
199 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group()
493 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
613 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period()
685 u64 rt_period; in do_balance_runtime() local
690 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime()
714 if (rt_rq->rt_runtime + diff > rt_period) in do_balance_runtime()
715 diff = rt_period - rt_rq->rt_runtime; in do_balance_runtime()
718 if (rt_rq->rt_runtime == rt_period) { in do_balance_runtime()
2496 u64 rt_period; member
2507 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()
2511 period = d->rt_period; in tg_rt_schedulable()
2540 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()
2544 period = d->rt_period; in tg_rt_schedulable()
2563 .rt_period = period, in __rt_schedulable()
2575 u64 rt_period, u64 rt_runtime) in tg_set_rt_bandwidth() argument
2587 if (rt_period == 0) in tg_set_rt_bandwidth()
2597 err = __rt_schedulable(tg, rt_period, rt_runtime); in tg_set_rt_bandwidth()
2602 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()
2621 u64 rt_runtime, rt_period; in sched_group_set_rt_runtime() local
2623 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime()
2630 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_runtime()
2647 u64 rt_runtime, rt_period; in sched_group_set_rt_period() local
2652 rt_period = rt_period_us * NSEC_PER_USEC; in sched_group_set_rt_period()
2655 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_period()
2662 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period()
2724 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()