Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libthr/thread/
H A Dthr_kern.c75 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
79 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
96 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
100 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-13.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.c422 rtp.prio = RTP_PRIO_MAX; in sys_rtprio()
482 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
492 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
H A Dkern_poll.c558 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.c2525 ceiling = RTP_PRIO_MAX - ceiling; in do_lock_pp()
2526 if (ceiling > RTP_PRIO_MAX) { in do_lock_pp()
2688 rceiling = RTP_PRIO_MAX - rceiling; in do_unlock_pp()
2689 if (rceiling > RTP_PRIO_MAX) in do_unlock_pp()
2754 if (ceiling > RTP_PRIO_MAX) in do_set_ceiling()
/freebsd-13.1/sys/sys/
H A Drtprio.h63 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/freebsd-13.1/lib/libutil/
H A Dlogin_class.c458 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setusercontext()
465 p -= PRIO_MIN - RTP_PRIO_MAX; in setusercontext()
/freebsd-13.1/sys/compat/linux/
H A Dlinux_misc.c1535 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setscheduler()
2116 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setparam()
2164 (RTP_PRIO_MAX - RTP_PRIO_MIN - 1)) / in linux_sched_getparam()
2165 (RTP_PRIO_MAX - RTP_PRIO_MIN) + 1; in linux_sched_getparam()