Searched refs:to_ratio (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | deadline.c | 414 dl_b->bw = to_ratio(global_rt_period(), global_rt_runtime()); in init_dl_bw() 2557 u64 new_bw = to_ratio(period, runtime); in sched_dl_global_validate() 2596 dl_rq->bw_ratio = to_ratio(global_rt_runtime(), in init_dl_rq_bw_ratio() 2598 dl_rq->extra_bw = to_ratio(global_rt_period(), in init_dl_rq_bw_ratio() 2614 new_bw = to_ratio(global_rt_period(), global_rt_runtime()); in sched_dl_do_global() 2645 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow() 2714 dl_se->dl_bw = to_ratio(dl_se->dl_period, dl_se->dl_runtime); in __setparam_dl() 2715 dl_se->dl_density = to_ratio(dl_se->dl_deadline, dl_se->dl_runtime); in __setparam_dl()
|
| H A D | rt.c | 2647 total = to_ratio(period, runtime); in tg_rt_schedulable() 2652 if (total > to_ratio(global_rt_period(), global_rt_runtime())) in tg_rt_schedulable() 2667 sum += to_ratio(period, runtime); in tg_rt_schedulable()
|
| H A D | sched.h | 2015 unsigned long to_ratio(u64 period, u64 runtime);
|
| H A D | core.c | 3571 unsigned long to_ratio(u64 period, u64 runtime) in to_ratio() function 8525 return to_ratio(period, quota); in normalize_cfs_quota()
|