Lines Matching refs:rt_runtime
3558 task_group(p)->rt_bandwidth.rt_runtime == 0 && in __sched_setscheduler()
7203 rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime; in sched_init()
7611 u64 rt_runtime; member
7622 runtime = tg->rt_bandwidth.rt_runtime; in tg_rt_schedulable()
7626 runtime = d->rt_runtime; in tg_rt_schedulable()
7654 runtime = child->rt_bandwidth.rt_runtime; in tg_rt_schedulable()
7658 runtime = d->rt_runtime; in tg_rt_schedulable()
7677 .rt_runtime = runtime, in __rt_schedulable()
7688 u64 rt_period, u64 rt_runtime) in tg_set_rt_bandwidth() argument
7696 if (tg == &root_task_group && rt_runtime == 0) in tg_set_rt_bandwidth()
7705 err = __rt_schedulable(tg, rt_period, rt_runtime); in tg_set_rt_bandwidth()
7711 tg->rt_bandwidth.rt_runtime = rt_runtime; in tg_set_rt_bandwidth()
7717 rt_rq->rt_runtime = rt_runtime; in tg_set_rt_bandwidth()
7730 u64 rt_runtime, rt_period; in sched_group_set_rt_runtime() local
7733 rt_runtime = (u64)rt_runtime_us * NSEC_PER_USEC; in sched_group_set_rt_runtime()
7735 rt_runtime = RUNTIME_INF; in sched_group_set_rt_runtime()
7737 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_runtime()
7744 if (tg->rt_bandwidth.rt_runtime == RUNTIME_INF) in sched_group_rt_runtime()
7747 rt_runtime_us = tg->rt_bandwidth.rt_runtime; in sched_group_rt_runtime()
7754 u64 rt_runtime, rt_period; in sched_group_set_rt_period() local
7757 rt_runtime = tg->rt_bandwidth.rt_runtime; in sched_group_set_rt_period()
7759 return tg_set_rt_bandwidth(tg, rt_period, rt_runtime); in sched_group_set_rt_period()
7789 if (rt_task(tsk) && tg->rt_bandwidth.rt_runtime == 0) in sched_rt_can_attach()
7806 rt_rq->rt_runtime = global_rt_runtime(); in sched_rt_global_constraints()
7893 def_rt_bandwidth.rt_runtime = global_rt_runtime(); in sched_rt_do_global()