Home
last modified time | relevance | path

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

12

/freebsd-14.2/tools/regression/priv/
H A Dpriv_sched_rtprio.c105 struct rtprio rtp; in priv_sched_rtprio_curproc_normal()
110 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_normal()
128 struct rtprio rtp; in priv_sched_rtprio_curproc_idle()
133 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_idle()
151 struct rtprio rtp; in priv_sched_rtprio_curproc_realtime()
174 struct rtprio rtp; in priv_sched_rtprio_myproc_normal()
197 struct rtprio rtp; in priv_sched_rtprio_myproc_idle()
220 struct rtprio rtp; in priv_sched_rtprio_myproc_realtime()
243 struct rtprio rtp; in priv_sched_rtprio_aproc_normal()
266 struct rtprio rtp; in priv_sched_rtprio_aproc_idle()
[all …]
/freebsd-14.2/sys/sys/
H A Drtprio.h73 struct rtprio { struct
80 int rtp_to_pri(struct rtprio *, struct thread *); argument
81 void pri_to_rtp(struct thread *, struct rtprio *);
89 int rtprio(int, pid_t, struct rtprio *);
90 int rtprio_thread(int, lwpid_t, struct rtprio *);
H A Dthr.h57 struct rtprio *rtp; /* Real-time scheduling priority */
H A Dsyscall.mk112 rtprio.o \
/freebsd-14.2/usr.sbin/rtprio/
H A DMakefile3 PROG= rtprio
4 LINKS= ${BINDIR}/rtprio ${BINDIR}/idprio
5 MLINKS= rtprio.1 idprio.1
H A Drtprio.c55 struct rtprio rtp; in main()
74 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main()
114 if (rtprio(RTP_SET, proc, &rtp) != 0) in main()
/freebsd-14.2/lib/libthr/thread/
H A Dthr_kern.c67 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam()
89 struct rtprio *rtp) in _schedparam_to_rtp()
112 struct rtprio rtp; in _thr_getscheduler()
125 struct rtprio rtp; in _thr_setscheduler()
H A Dthr_create.c59 struct rtprio rtp; in _pthread_create()
H A Dthr_private.h844 int _rtp_to_schedparam(const struct rtprio *rtp, int *policy,
847 struct rtprio *rtp) __hidden;
/freebsd-14.2/sys/kern/
H A Dksched.c108 struct rtprio rtp; in getscheduler()
143 struct rtprio rtp; in ksched_getparam()
173 struct rtprio rtp; in ksched_setscheduler()
H A Dkern_resource.c297 struct rtprio *rtp;
304 struct rtprio rtp; in sys_rtprio_thread()
310 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio_thread()
331 return (copyout(&rtp, uap->rtp, sizeof(struct rtprio))); in sys_rtprio_thread()
378 struct rtprio *rtp;
386 struct rtprio rtp; in sys_rtprio()
391 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio()
419 struct rtprio rtp2; in sys_rtprio()
434 return (copyout(&rtp, uap->rtp, sizeof(struct rtprio))); in sys_rtprio()
476 rtp_to_pri(struct rtprio *rtp, struct thread *td) in rtp_to_pri()
[all …]
H A Dkern_thr.c178 struct rtprio rtp, *rtpp; in kern_thr_new()
183 error = copyin(param->rtp, &rtp, sizeof(struct rtprio)); in kern_thr_new()
192 thread_create(struct thread *td, struct rtprio *rtp, in thread_create()
H A Dkern_poll.c555 struct rtprio rtp; in poll_idle()
/freebsd-14.2/tools/test/stress2/misc/
H A Dmlockall2.sh125 struct rtprio rtp;
137 if (rtprio(RTP_SET, 0, &rtp) == -1)
/freebsd-14.2/lib/libutil/
H A Dlogin_class.c491 struct rtprio rtp; in setclasspriority()
496 rc = rtprio(RTP_SET, 0, &rtp); in setclasspriority()
498 struct rtprio rtp; in setclasspriority()
503 rc = rtprio(RTP_SET, 0, &rtp); in setclasspriority()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h226 struct rtprio rtp; in sched_set_fifo()
236 struct rtprio rtp; in sched_set_fifo_low()
/freebsd-14.2/usr.sbin/watchdogd/
H A Dwatchdogd.c120 struct rtprio rtp; in main()
135 if (rtprio(RTP_SET, 0, &rtp) == -1) in main()
/freebsd-14.2/lib/libc/sys/
H A DMakefile.inc300 rtprio.2 \
478 MLINKS+=rtprio.2 rtprio_thread.2
H A DSymbol.map204 rtprio;
/freebsd-14.2/contrib/ntp/ntpd/
H A Drefclock_gpsvme.c135 rtprio(0,120); /* set real time priority */ in psc_start()
H A Dntpd.c527 struct rtprio srtp; in set_process_priority()
532 if (rtprio(RTP_SET, getpid(), &srtp) < 0) in set_process_priority()
539 if (rtprio(0, 120) < 0) in set_process_priority()
/freebsd-14.2/usr.sbin/
H A DMakefile77 rtprio \
/freebsd-14.2/sys/compat/linux/
H A Dlinux_misc.c2682 linux_up_rtprio_if(struct thread *td1, struct rtprio *rtp) in linux_up_rtprio_if()
2684 struct rtprio rtp2; in linux_up_rtprio_if()
2698 linux_rtprio2ioprio(struct rtprio *rtp) in linux_rtprio2ioprio()
2724 linux_ioprio2rtprio(int ioprio, struct rtprio *rtp) in linux_ioprio2rtprio()
2751 struct rtprio rtp; in linux_ioprio_get()
2852 struct rtprio rtp; in linux_ioprio_set()
/freebsd-14.2/tests/sys/audit/
H A Dprocess-control.c1280 struct rtprio rtp; in ATF_TC_BODY()
1285 ATF_REQUIRE_EQ(0, rtprio(RTP_LOOKUP, 0, &rtp)); in ATF_TC_BODY()
1308 ATF_REQUIRE_EQ(-1, rtprio(-1, -1, NULL)); in ATF_TC_BODY()
/freebsd-14.2/tools/build/test-includes/
H A Dbadfiles.inc107 sys/rtprio.h \

12