Home
last modified time | relevance | path

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

/freebsd/lib/libthr/thread/
H A Dthr_kern.c72 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
76 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
93 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
97 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/sys/kern/
H A Dksched.c94 #define p4prio_to_rtpprio(P) (RTP_PRIO_MAX - (P))
95 #define rtpprio_to_p4prio(P) (RTP_PRIO_MAX - (P))
102 #define P1B_PRIO_MIN rtpprio_to_p4prio(RTP_PRIO_MAX)
H A Dkern_poll.c557 rtp.prio = RTP_PRIO_MAX; /* lowest priority */ in poll_idle()
H A Dkern_resource.c419 rtp.prio = RTP_PRIO_MAX; in sys_rtprio()
479 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
489 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
H A Dkern_thr.c222 if (rtp->prio > RTP_PRIO_MAX) in thread_create()
H A Dkern_umtx.c2557 ceiling = RTP_PRIO_MAX - ceiling; in do_lock_pp()
2558 if (ceiling > RTP_PRIO_MAX) { in do_lock_pp()
2725 rceiling = RTP_PRIO_MAX - rceiling; in do_unlock_pp()
2726 if (rceiling > RTP_PRIO_MAX) in do_unlock_pp()
2790 if (ceiling > RTP_PRIO_MAX) in do_set_ceiling()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h228 rtp.prio = (RTP_PRIO_MIN + RTP_PRIO_MAX) / 2; in sched_set_fifo()
238 rtp.prio = RTP_PRIO_MAX; /* lowest priority */ in sched_set_fifo_low()
/freebsd/sys/sys/
H A Drtprio.h62 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/freebsd/lib/libutil/
H A Dlogin_class.c495 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setclasspriority()
501 p += RTP_PRIO_MAX - (PRIO_MIN - 1); in setclasspriority()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c1288 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setscheduler()
1890 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setparam()
1938 (RTP_PRIO_MAX - RTP_PRIO_MIN - 1)) / in linux_sched_getparam()
1939 (RTP_PRIO_MAX - RTP_PRIO_MIN) + 1; in linux_sched_getparam()
2719 #define LINUX_PRIO_DIVIDER RTP_PRIO_MAX / LINUX_IOPRIO_MAX
2785 rtp.prio = RTP_PRIO_MAX; in linux_ioprio_get()