Searched refs:to_ratio (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/kernel/sched/ |
H A D | deadline.c | 503 dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_bw() 2772 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() 2813 dl_rq->bw_ratio = to_ratio(global_rt_runtime(), in init_dl_rq_bw_ratio() 2816 to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_rq_bw_ratio() 2829 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global() 2863 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow() 2932 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl() 2933 dl_se->dl_density = to_ratio(dl_se->dl_deadline, dl_se->dl_runtime); in __setparam_dl()
|
H A D | rt.c | 2800 total = to_ratio(period, runtime); in tg_rt_schedulable() 2805 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable() 2820 sum += to_ratio(period, runtime); in tg_rt_schedulable()
|
H A D | sched.h | 2460 unsigned long to_ratio(u64 period, u64 runtime);
|
H A D | core.c | 4825 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() function 11083 return to_ratio(period, quota); in normalize_cfs_quota()
|