Home
last modified time | relevance | path

Searched refs:rt_runtime_us (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
H A Drt.c2929 int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) in sched_group_set_rt_runtime() argument
2934 rt_runtime = (u64)rt_runtime_us * NSEC_PER_USEC; in sched_group_set_rt_runtime()
2935 if (rt_runtime_us < 0) in sched_group_set_rt_runtime()
2937 else if ((u64)rt_runtime_us > U64_MAX / NSEC_PER_USEC) in sched_group_set_rt_runtime()
2945 u64 rt_runtime_us; in sched_group_rt_runtime() local
2950 rt_runtime_us = tg->rt_bandwidth.rt_runtime; in sched_group_rt_runtime()
2951 do_div(rt_runtime_us, NSEC_PER_USEC); in sched_group_rt_runtime()
2952 return rt_runtime_us; in sched_group_rt_runtime()
H A Dsched.h580 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);
/kernel/linux/linux-6.6/kernel/sched/
H A Drt.c3186 int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) in sched_group_set_rt_runtime() argument
3191 rt_runtime = (u64)rt_runtime_us * NSEC_PER_USEC; in sched_group_set_rt_runtime()
3192 if (rt_runtime_us < 0) in sched_group_set_rt_runtime()
3194 else if ((u64)rt_runtime_us > U64_MAX / NSEC_PER_USEC) in sched_group_set_rt_runtime()
3202 u64 rt_runtime_us; in sched_group_rt_runtime() local
3207 rt_runtime_us = tg->rt_bandwidth.rt_runtime; in sched_group_rt_runtime()
3208 do_div(rt_runtime_us, NSEC_PER_USEC); in sched_group_rt_runtime()
3209 return rt_runtime_us; in sched_group_rt_runtime()
H A Dsched.h562 extern int sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us);

Completed in 19 milliseconds