Searched refs:rt_policy (Results 1 – 2 of 2) sorted by relevance
164 static inline int rt_policy(int policy) in rt_policy() function176 rt_policy(policy) || dl_policy(policy); in valid_policy()181 return rt_policy(p->policy); in task_has_rt_policy()
4155 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()4168 if (rt_policy(policy)) { in __sched_setscheduler()4243 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()4260 if (rt_bandwidth_enabled() && rt_policy(policy) && in __sched_setscheduler()