Lines Matching refs:sched_priority
318 p->rt_priority = attr->sched_priority; in DEFINE_CLASS()
473 if (attr->sched_priority > p->rt_priority && in user_check_sched_setscheduler()
474 attr->sched_priority > rlim_rtprio) in user_check_sched_setscheduler()
549 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
552 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
615 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
681 newprio = __normal_prio(policy, attr->sched_priority, attr->sched_nice); in __sched_setscheduler()
760 .sched_priority = param->sched_priority, in _sched_setscheduler()
844 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
854 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
936 attr->sched_priority = p->rt_priority; in get_params()
1044 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
1061 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()