Home
last modified time | relevance | path

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

/dragonfly/lib/libthread_xu/thread/
H A Dthr_kern.c159 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
163 param->sched_priority = RTP_PRIO_MAX - rtp->prio; in _rtp_to_schedparam()
180 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
184 rtp->prio = RTP_PRIO_MAX - param->sched_priority; in _schedparam_to_rtp()
/dragonfly/sys/kern/
H A Dkern_sched.c94 #define p4prio_to_rtpprio(P) (RTP_PRIO_MAX - (P))
95 #define rtpprio_to_p4prio(P) (RTP_PRIO_MAX - (P))
100 #define P1B_PRIO_MIN rtpprio_to_p4prio(RTP_PRIO_MAX)
232 *ret = RTP_PRIO_MAX; in ksched_get_priority_max()
H A Dkern_resource.c646 if (rtp.prio > RTP_PRIO_MAX) { in sys_lwp_rtprio()
744 if (rtp.prio > RTP_PRIO_MAX) { in sys_rtprio()
/dragonfly/lib/libutil/
H A Dlogin_class.c344 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setusercontext()
351 p -= PRIO_MIN - RTP_PRIO_MAX; in setusercontext()
/dragonfly/sys/sys/
H A Drtprio.h64 #define RTP_PRIO_MAX 31 /* Lowest priority */ macro
/dragonfly/bin/ps/
H A Dprint.c576 niceval = PRIO_MIN - 1 - RTP_PRIO_MAX + KI_LWP(k, rtprio).prio; in pnice()
582 niceval = PRIO_MIN - 1 - RTP_PRIO_MAX - KI_LWP(k, rtprio).prio; in pnice()
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c798 xnice = PRIO_MIN - 1 - RTP_PRIO_MAX + LP(pp, rtprio.prio); in format_next_process()
804 xnice = PRIO_MIN - 1 - RTP_PRIO_MAX - LP(pp, rtprio.prio); in format_next_process()