Lines Matching refs:sched_priority
1559 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
4072 p->rt_priority = attr->sched_priority; in __setscheduler_params()
4120 MAX_RT_PRIO - 1 - attr->sched_priority; in __sched_setscheduler()
4151 if ((p->mm && attr->sched_priority > MAX_USER_RT_PRIO-1) || in __sched_setscheduler()
4152 (!p->mm && attr->sched_priority > MAX_RT_PRIO-1)) in __sched_setscheduler()
4155 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
4177 if (attr->sched_priority > p->rt_priority && in __sched_setscheduler()
4178 attr->sched_priority > rlim_rtprio) in __sched_setscheduler()
4243 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
4363 .sched_priority = param->sched_priority, in _sched_setscheduler()
4615 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
4633 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()
4720 attr.sched_priority = p->rt_priority; in SYSCALL_DEFINE4()