Home
last modified time | relevance | path

Searched refs:rtprio (Results 1 – 19 of 19) sorted by relevance

/dragonfly/sys/sys/
H A Drtprio.h73 struct rtprio { struct
83 int rtprio (int, pid_t, struct rtprio *); argument
85 int lwp_rtprio (int, pid_t, lwpid_t, struct rtprio *);
H A Dlwp.h23 struct rtprio;
37 int lwp_rtprio(int, pid_t, lwpid_t, struct rtprio *);
H A Dproc.h211 struct rtprio lwp_rtprio; /* Realtime priority. */
303 struct rtprio p_rtprio; /* Realtime priority. */
H A Dkinfo.h131 struct rtprio kl_rtprio; /* real-time scheduling prio */
H A Dsysunion.h123 struct rtprio_args rtprio; member
H A Dsyscall.mk114 rtprio.o \
H A Dsysproto.h486 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
1175 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
/dragonfly/usr.sbin/rtprio/
H A DMakefile5 PROG= rtprio
6 LINKS= ${BINDIR}/rtprio ${BINDIR}/idprio
7 MLINKS= rtprio.1 idprio.1
H A Drtprio.c56 struct rtprio rtp; in main()
75 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main()
115 if (rtprio(RTP_SET, proc, &rtp) != 0) in main()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_kern.c153 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam()
175 struct rtprio *rtp) in _schedparam_to_rtp()
199 struct rtprio rtp; in _thr_getscheduler()
215 struct rtprio rtp; in _thr_setscheduler()
H A Dthr_private.h723 int _rtp_to_schedparam(const struct rtprio *rtp, int *policy,
726 struct rtprio *rtp);
/dragonfly/bin/ps/
H A Dprint.c574 switch (KI_LWP(k, rtprio).type) { in pnice()
576 niceval = PRIO_MIN - 1 - RTP_PRIO_MAX + KI_LWP(k, rtprio).prio; in pnice()
579 niceval = PRIO_MAX + 1 + KI_LWP(k, rtprio).prio; in pnice()
582 niceval = PRIO_MIN - 1 - RTP_PRIO_MAX - KI_LWP(k, rtprio).prio; in pnice()
641 struct rtprio *prtp; in rtprior()
645 prtp = &KI_LWP(k, rtprio); in rtprior()
/dragonfly/lib/libutil/
H A Dlogin_class.c323 struct rtprio rtp; in setusercontext()
345 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext()
353 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext()
/dragonfly/sys/kern/
H A Dkern_resource.c563 struct rtprio rtp; in sys_lwp_rtprio()
566 error = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_lwp_rtprio()
610 sizeof(struct rtprio)); in sys_lwp_rtprio()
683 struct rtprio rtp; in sys_rtprio()
686 error = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio()
708 sizeof(struct rtprio)); in sys_rtprio()
H A Dkern_sched.c164 struct rtprio rtp; in ksched_setscheduler()
/dragonfly/lib/libc/sys/
H A DMakefile.inc90 rtprio.2 __realpath.2 \
184 MLINKS+=rtprio.2 lwp_rtprio.2
H A DSymbol.map218 rtprio;
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c796 switch (LP(pp, rtprio.type)) { in format_next_process()
798 xnice = PRIO_MIN - 1 - RTP_PRIO_MAX + LP(pp, rtprio.prio); in format_next_process()
801 xnice = PRIO_MAX + 1 + LP(pp, rtprio.prio); in format_next_process()
804 xnice = PRIO_MIN - 1 - RTP_PRIO_MAX - LP(pp, rtprio.prio); in format_next_process()
/dragonfly/usr.sbin/
H A DMakefile107 rtprio \