Searched refs:RTP_PRIO_MAX (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_kern.c81 param->sched_priority = RTP_PRIO_MAX - rtp->prio;
85 param->sched_priority = RTP_PRIO_MAX - rtp->prio;
102 rtp->prio = RTP_PRIO_MAX - param->sched_priority;
106 rtp->prio = RTP_PRIO_MAX - param->sched_priority;
H A Dthr_init.c71 {RTP_PRIO_MIN, RTP_PRIO_MAX, 0}, /* FIFO */
73 {RTP_PRIO_MIN, RTP_PRIO_MAX, 0} /* RR */
/freebsd-9.3-release/sys/kern/
H A Dksched.c96 #define p4prio_to_rtpprio(P) (RTP_PRIO_MAX - (P))
97 #define rtpprio_to_p4prio(P) (RTP_PRIO_MAX - (P))
104 #define P1B_PRIO_MIN rtpprio_to_p4prio(RTP_PRIO_MAX)
248 *prio = RTP_PRIO_MAX;
H A Dkern_poll.c541 rtp.prio = RTP_PRIO_MAX; /* lowest priority */
H A Dkern_resource.c416 rtp.prio = RTP_PRIO_MAX;
477 if (rtp->prio > RTP_PRIO_MAX)
487 if (rtp->prio > RTP_PRIO_MAX)
H A Dkern_thr.c178 if (rtp->prio > RTP_PRIO_MAX)
H A Dkern_umtx.c2107 ceiling = RTP_PRIO_MAX - fuword32(&m->m_ceilings[0]);
2108 if (ceiling > RTP_PRIO_MAX) {
2246 rceiling = RTP_PRIO_MAX - rceiling;
2247 if (rceiling > RTP_PRIO_MAX)
2311 if (ceiling > RTP_PRIO_MAX)
/freebsd-9.3-release/sys/sys/
H A Drtprio.h60 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/freebsd-9.3-release/lib/libutil/
H A Dlogin_class.c452 p = (rtp.prio > RTP_PRIO_MAX) ? 31 : p;
459 rtp.prio = abs(p - PRIO_MIN + RTP_PRIO_MAX);
460 p = (rtp.prio > RTP_PRIO_MAX) ? 1 : p;

Completed in 128 milliseconds