PRIO_MIN
niceval = PRIO_MIN - 1 - RTP_PRIO_MAX + KI_LWP(k, rtprio).prio;
niceval = PRIO_MIN - 1 - RTP_PRIO_MAX - KI_LWP(k, rtprio).prio;
} else if (p < PRIO_MIN) {
p -= PRIO_MIN - RTP_PRIO_MAX;
setpriority(PRIO_PROCESS, 0, PRIO_MIN);
if (n < PRIO_MIN)
n = PRIO_MIN;
*ret = PRIO_MIN;
newpriority = (lp->lwp_proc->p_nice - PRIO_MIN) * PPQ / NICEPPQ;
#define PRIO_RANGE (PRIO_MAX - PRIO_MIN + 1)
newpriority = (lp->lwp_proc->p_nice - PRIO_MIN) *
#define PRIO_RANGE (PRIO_MAX - PRIO_MIN + 1)
info.bigproc->p_nice = PRIO_MIN;
if (prio < PRIO_MIN)
prio = PRIO_MIN;
#if defined(PRIO_MIN) && defined(PRIO_MAX)
if (procnum == -1 || prio < PRIO_MIN || prio > PRIO_MAX)
xnice = PRIO_MIN - 1 - RTP_PRIO_MAX + LP(pp, rtprio.prio);
xnice = PRIO_MIN - 1 - RTP_PRIO_MAX - LP(pp, rtprio.prio);