Searched refs:dl_policy (Results 1 – 3 of 3) sorted by relevance
2558 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; in sched_dl_overflow()2575 if (dl_policy(policy) && !task_has_dl_policy(p) && in sched_dl_overflow()2581 } else if (dl_policy(policy) && task_has_dl_policy(p) && in sched_dl_overflow()2594 } else if (!dl_policy(policy) && task_has_dl_policy(p)) { in sched_dl_overflow()
165 static inline int dl_policy(int policy) in dl_policy() function172 rt_policy(policy) || dl_policy(policy); in valid_policy()187 return dl_policy(p->policy); in task_has_dl_policy()
4691 if (dl_policy(policy)) in __setscheduler_params()4755 int newprio = dl_policy(attr->sched_policy) ? MAX_DL_PRIO - 1 : in __sched_setscheduler()4790 if ((dl_policy(policy) && !__checkparam_dl(attr)) || in __sched_setscheduler()4824 if (dl_policy(policy)) in __sched_setscheduler()4891 if (dl_policy(policy) && dl_param_changed(p, attr)) in __sched_setscheduler()4916 if (dl_bandwidth_enabled() && dl_policy(policy) && in __sched_setscheduler()4948 if ((dl_policy(policy) || dl_task(p)) && sched_dl_overflow(p, policy, attr)) { in __sched_setscheduler()