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.c74 {RTP_PRIO_MIN, RTP_PRIO_MAX, 0}, /* FIFO */
76 {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.c417 rtp.prio = RTP_PRIO_MAX; in sys_rtprio()
477 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
487 if (rtp->prio > RTP_PRIO_MAX) in rtp_to_pri()
H A Dkern_thr.c208 if (rtp->prio > RTP_PRIO_MAX) in thread_create()
H A Dkern_umtx.c2549 ceiling = RTP_PRIO_MAX - ceiling; in do_lock_pp()
2550 if (ceiling > RTP_PRIO_MAX) { in do_lock_pp()
2715 rceiling = RTP_PRIO_MAX - rceiling; in do_unlock_pp()
2716 if (rceiling > RTP_PRIO_MAX) in do_unlock_pp()
2781 if (ceiling > RTP_PRIO_MAX) in do_set_ceiling()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h227 rtp.prio = (RTP_PRIO_MIN + RTP_PRIO_MAX) / 2; in sched_set_fifo()
237 rtp.prio = RTP_PRIO_MAX; /* lowest priority */ in sched_set_fifo_low()
/freebsd/sys/sys/
H A Drtprio.h61 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/freebsd/lib/libutil/
H A Dlogin_class.c493 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setclasspriority()
499 p += RTP_PRIO_MAX - (PRIO_MIN - 1); in setclasspriority()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c1309 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setscheduler()
1883 (RTP_PRIO_MAX - RTP_PRIO_MIN + 1) / in linux_sched_setparam()
1931 (RTP_PRIO_MAX - RTP_PRIO_MIN - 1)) / in linux_sched_getparam()
1932 (RTP_PRIO_MAX - RTP_PRIO_MIN) + 1; in linux_sched_getparam()
2712 #define LINUX_PRIO_DIVIDER RTP_PRIO_MAX / LINUX_IOPRIO_MAX
2778 rtp.prio = RTP_PRIO_MAX; in linux_ioprio_get()