Lines Matching refs:MAX_RT_PRIO
168 return MAX_RT_PRIO + NICE_WIDTH; /* 140 */ in __task_prio()
170 return MAX_RT_PRIO + MAX_NICE; /* 120, squash fair */ in __task_prio()
196 if (pa == MAX_RT_PRIO + MAX_NICE) /* fair */ in prio_less()
1307 int prio = p->static_prio - MAX_RT_PRIO; in set_load_weight()
2151 prio = MAX_RT_PRIO - 1 - rt_prio; in __normal_prio()
3654 struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 }; in sched_set_stop_task()
7316 return p->prio - MAX_RT_PRIO; in task_prio()
7656 if (attr->sched_priority > MAX_RT_PRIO-1) in __sched_setscheduler()
7937 struct sched_param sp = { .sched_priority = MAX_RT_PRIO / 2 }; in sched_set_fifo()
9046 ret = MAX_RT_PRIO-1; in SYSCALL_DEFINE1()
11363 return PRIO_TO_NICE(prio - 1 + MAX_RT_PRIO); in cpu_weight_nice_read_s64()
11375 idx = NICE_TO_PRIO(nice) - MAX_RT_PRIO; in cpu_weight_nice_write_s64()