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
455 if (p > PRIO_MAX) { in setusercontext()457 p -= PRIO_MAX + 1; in setusercontext()
106 low = PRIO_MAX + 1; in kern_getpriority()167 if (low == PRIO_MAX + 1 && error == 0) in kern_getpriority()275 if (n > PRIO_MAX) in donice()276 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)
492 if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX) in renice_procs()