Lines Matching refs:sched_priority
331 p->rt_priority = attr->sched_priority; in DEFINE_CLASS()
486 if (attr->sched_priority > p->rt_priority && in user_check_sched_setscheduler()
487 attr->sched_priority > rlim_rtprio) in user_check_sched_setscheduler()
562 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
565 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
628 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
695 newprio = __normal_prio(policy, attr->sched_priority, attr->sched_nice); in __sched_setscheduler()
774 .sched_priority = param->sched_priority, in _sched_setscheduler()
858 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
868 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
950 attr->sched_priority = p->rt_priority; in get_params()
1058 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
1075 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()