Searched refs:to_ratio (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/kernel/sched/ |
D | deadline.c | 503 dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_bw() 2736 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() 2777 dl_rq->bw_ratio = to_ratio(global_rt_runtime(), in init_dl_rq_bw_ratio() 2779 dl_rq->extra_bw = to_ratio(global_rt_period(), in init_dl_rq_bw_ratio() 2793 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global() 2827 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow() 2896 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl() 2897 dl_se->dl_density = to_ratio(dl_se->dl_deadline, dl_se->dl_runtime); in __setparam_dl()
|
D | rt.c | 2779 total = to_ratio(period, runtime); in tg_rt_schedulable() 2784 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable() 2799 sum += to_ratio(period, runtime); in tg_rt_schedulable()
|
D | sched.h | 2330 unsigned long to_ratio(u64 period, u64 runtime);
|
D | core.c | 4607 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() function 10752 return to_ratio(period, quota); in normalize_cfs_quota()
|