Lines Matching refs:rt_period
26 overrun = hrtimer_forward_now(timer, rt_b->rt_period); in sched_rt_period_timer()
43 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth()
197 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group()
452 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
572 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period()
644 u64 rt_period; in do_balance_runtime() local
649 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime()
673 if (rt_rq->rt_runtime + diff > rt_period) in do_balance_runtime()
674 diff = rt_period - rt_rq->rt_runtime; in do_balance_runtime()
677 if (rt_rq->rt_runtime == rt_period) { in do_balance_runtime()
2420 u64 rt_period; member
2431 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()
2435 period = d->rt_period; in tg_rt_schedulable()
2463 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()
2467 period = d->rt_period; in tg_rt_schedulable()
2486 .rt_period = period, in __rt_schedulable()
2498 u64 rt_period, u64 rt_runtime) in tg_set_rt_bandwidth() argument
2510 if (rt_period == 0) in tg_set_rt_bandwidth()
2515 err = __rt_schedulable(tg, rt_period, rt_runtime); in tg_set_rt_bandwidth()
2520 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()
2540 u64 rt_runtime, rt_period; in sched_group_set_rt_runtime() local
2542 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime()
2549 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_runtime()
2566 u64 rt_runtime, rt_period; in sched_group_set_rt_period() local
2571 rt_period = rt_period_us * NSEC_PER_USEC; in sched_group_set_rt_period()
2574 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_period()
2581 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period()
2643 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()