Searched refs:to_ratio (Results 1 – 4 of 4) sorted by relevance
/kernel/sched/ |
D | deadline.c | 351 dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_bw() 2470 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() 2508 dl_rq->bw_ratio = to_ratio(global_rt_runtime(), in init_dl_rq_bw_ratio() 2510 dl_rq->extra_bw = to_ratio(global_rt_period(), in init_dl_rq_bw_ratio() 2526 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global() 2558 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow() 2623 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl() 2624 dl_se->dl_density = to_ratio(dl_se->dl_deadline, dl_se->dl_runtime); in __setparam_dl()
|
D | rt.c | 2507 total = to_ratio(period, runtime); in tg_rt_schedulable() 2512 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable() 2527 sum += to_ratio(period, runtime); in tg_rt_schedulable()
|
D | sched.h | 1896 unsigned long to_ratio(u64 period, u64 runtime);
|
D | core.c | 2921 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() function 7567 return to_ratio(period, quota); in normalize_cfs_quota()
|