Lines Matching refs:sched_priority
918 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
3674 p->rt_priority = attr->sched_priority; in __setscheduler_params()
3707 attr->sched_priority = p->rt_priority; in __getparam_dl()
3790 MAX_RT_PRIO - 1 - attr->sched_priority; in __sched_setscheduler()
3820 if ((p->mm && attr->sched_priority > MAX_USER_RT_PRIO-1) || in __sched_setscheduler()
3821 (!p->mm && attr->sched_priority > MAX_RT_PRIO-1)) in __sched_setscheduler()
3824 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
3846 if (attr->sched_priority > p->rt_priority && in __sched_setscheduler()
3847 attr->sched_priority > rlim_rtprio) in __sched_setscheduler()
3908 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
4031 .sched_priority = param->sched_priority, in _sched_setscheduler()
4281 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
4299 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()
4386 attr.sched_priority = p->rt_priority; in SYSCALL_DEFINE4()