Searched refs:to_ratio (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/kernel/sched/ |
D | deadline.c | 352 dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_bw() 2433 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() 2471 dl_rq->bw_ratio = to_ratio(global_rt_runtime(), in init_dl_rq_bw_ratio() 2473 dl_rq->extra_bw = to_ratio(global_rt_period(), in init_dl_rq_bw_ratio() 2489 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global() 2521 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow() 2586 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl() 2587 dl_se->dl_density = to_ratio(dl_se->dl_deadline, dl_se->dl_runtime); in __setparam_dl()
|
D | rt.c | 2467 total = to_ratio(period, runtime); in tg_rt_schedulable() 2472 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable() 2487 sum += to_ratio(period, runtime); in tg_rt_schedulable()
|
D | sched.h | 1655 unsigned long to_ratio(u64 period, u64 runtime);
|
D | core.c | 2371 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() function 6678 return to_ratio(period, quota); in normalize_cfs_quota()
|