Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libthr/thread/
H A Dthr_kern.c79 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
83 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
100 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
104 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
H A Dthr_init.c76 {RTP_PRIO_MIN, RTP_PRIO_MAX, 0}, /* FIFO */
78 {RTP_PRIO_MIN, RTP_PRIO_MAX, 0} /* RR */
/freebsd-12.1/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)
H A Dkern_resource.c410 rtp.prio = RTP_PRIO_MAX; in sys_rtprio()
470 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
480 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
H A Dkern_poll.c549 rtp.prio = RTP_PRIO_MAX; /* lowest priority */ in poll_idle()
H A Dkern_thr.c208 if (rtp->prio > RTP_PRIO_MAX) in thread_create()
H A Dkern_umtx.c2202 ceiling = RTP_PRIO_MAX - ceiling; in do_lock_pp()
2203 if (ceiling > RTP_PRIO_MAX) { in do_lock_pp()
2365 rceiling = RTP_PRIO_MAX - rceiling; in do_unlock_pp()
2366 if (rceiling > RTP_PRIO_MAX) in do_unlock_pp()
2431 if (ceiling > RTP_PRIO_MAX) in do_set_ceiling()
/freebsd-12.1/sys/sys/
H A Drtprio.h62 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/freebsd-12.1/lib/libutil/
H A Dlogin_class.c454 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setusercontext()
461 p -= PRIO_MIN - RTP_PRIO_MAX; in setusercontext()