Searched refs:PRIO_MAX (Results 1 – 7 of 7) sorted by relevance
143 if (prio > PRIO_MAX) in donice()144 prio = PRIO_MAX; in donice()
56 #define PRIO_MAX 20 macro
451 if (p > PRIO_MAX) { in setusercontext()453 p -= PRIO_MAX + 1; in setusercontext()
100 low = PRIO_MAX + 1; in sys_getpriority()162 if (low == PRIO_MAX + 1 && error == 0) in sys_getpriority()263 if (n > PRIO_MAX) in donice()264 n = PRIO_MAX; in donice()
78 min((e), INVERSE_ESTCPU_WEIGHT * (NICE_WEIGHT * (PRIO_MAX - PRIO_MIN) - \
164 #define SCHED_PRI_NRESV (PRIO_MAX - PRIO_MIN)
491 if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX) in renice_procs()