Lines Matching refs:sched_priority
891 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
3303 p->rt_priority = attr->sched_priority; in __setscheduler_params()
3336 attr->sched_priority = p->rt_priority; in __getparam_dl()
3419 MAX_RT_PRIO - 1 - attr->sched_priority; in __sched_setscheduler()
3452 if ((p->mm && attr->sched_priority > MAX_USER_RT_PRIO-1) || in __sched_setscheduler()
3453 (!p->mm && attr->sched_priority > MAX_RT_PRIO-1)) in __sched_setscheduler()
3456 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
3478 if (attr->sched_priority > p->rt_priority && in __sched_setscheduler()
3479 attr->sched_priority > rlim_rtprio) in __sched_setscheduler()
3540 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
3649 .sched_priority = param->sched_priority, in _sched_setscheduler()
3898 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
3916 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()
4003 attr.sched_priority = p->rt_priority; in SYSCALL_DEFINE4()