Lines Matching refs:sched_priority
321 p->rt_priority = attr->sched_priority; in DEFINE_CLASS()
476 if (attr->sched_priority > p->rt_priority && in user_check_sched_setscheduler()
477 attr->sched_priority > rlim_rtprio) in user_check_sched_setscheduler()
552 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
555 (rt_policy(policy) != (attr->sched_priority != 0))) in __sched_setscheduler()
618 if (rt_policy(policy) && attr->sched_priority != p->rt_priority) in __sched_setscheduler()
685 newprio = __normal_prio(policy, attr->sched_priority, attr->sched_nice); in __sched_setscheduler()
764 .sched_priority = param->sched_priority, in _sched_setscheduler()
848 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
858 struct sched_param sp = { .sched_priority = 1 }; in sched_set_fifo_low()
940 attr->sched_priority = p->rt_priority; in get_params()
1048 struct sched_param lp = { .sched_priority = 0 }; in SYSCALL_DEFINE2()
1065 lp.sched_priority = p->rt_priority; in SYSCALL_DEFINE2()