Searched refs:rt_policy (Results 1 – 2 of 2) sorted by relevance
99 static inline int rt_policy(int policy) in rt_policy() function111 rt_policy(policy) || dl_policy(policy); in valid_policy()116 return rt_policy(p->policy); in task_has_rt_policy()
3977 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()3990 if (rt_policy(policy)) { in __sched_setscheduler()4062 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()4079 if (rt_bandwidth_enabled() && rt_policy(policy) && in __sched_setscheduler()