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()
196 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group()
451 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period()
571 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period()
643 u64 rt_period; in do_balance_runtime() local
648 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime()
672 if (rt_rq->rt_runtime + diff > rt_period) in do_balance_runtime()
673 diff = rt_period - rt_rq->rt_runtime; in do_balance_runtime()
676 if (rt_rq->rt_runtime == rt_period) { in do_balance_runtime()
2436 u64 rt_period; member
2447 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable()
2451 period = d->rt_period; in tg_rt_schedulable()
2479 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable()
2483 period = d->rt_period; in tg_rt_schedulable()
2502 .rt_period = period, in __rt_schedulable()
2514 u64 rt_period, u64 rt_runtime) in tg_set_rt_bandwidth() argument
2526 if (rt_period == 0) in tg_set_rt_bandwidth()
2531 err = __rt_schedulable(tg, rt_period, rt_runtime); in tg_set_rt_bandwidth()
2536 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth()
2556 u64 rt_runtime, rt_period; in sched_group_set_rt_runtime() local
2558 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime()
2563 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_runtime()
2580 u64 rt_runtime, rt_period; in sched_group_set_rt_period() local
2582 rt_period = rt_period_us * NSEC_PER_USEC; in sched_group_set_rt_period()
2585 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_period()
2592 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period()
2654 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()