Searched refs:PRIO_MAX (Results 1 – 7 of 7) sorted by relevance
138 if (prio > PRIO_MAX) in donice()139 prio = PRIO_MAX; in donice()
53 #define PRIO_MAX 20 macro
489 if (p > PRIO_MAX) { in setclasspriority()493 p += RTP_PRIO_MIN - (PRIO_MAX + 1); in setclasspriority()
490 if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX) in renice_procs()
103 low = PRIO_MAX + 1; in kern_getpriority()164 if (low == PRIO_MAX + 1 && error == 0) in kern_getpriority()272 if (n > PRIO_MAX) in donice()273 n = PRIO_MAX; in donice()
76 min((e), INVERSE_ESTCPU_WEIGHT * (NICE_WEIGHT * (PRIO_MAX - PRIO_MIN) - \
162 #define SCHED_PRI_NRESV (PRIO_MAX - PRIO_MIN)