| /freebsd-src/tools/regression/priv/ |
| H A D | priv_sched_rtprio.c | 105 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() 156 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_realtime() 174 struct rtprio rtp; in priv_sched_rtprio_myproc_normal() 179 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_myproc_normal() 197 struct rtprio rtp; in priv_sched_rtprio_myproc_idle() 202 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_myproc_idle() [all …]
|
| /freebsd-src/sys/sys/ |
| H A D | rtprio.h | 73 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 D | thr.h | 57 struct rtprio *rtp; /* Real-time scheduling priority */
|
| H A D | syscall.mk | 114 rtprio.o \
|
| /freebsd-src/usr.sbin/rtprio/ |
| H A D | Makefile | 1 PROG= rtprio 2 LINKS= ${BINDIR}/rtprio ${BINDIR}/idprio 3 MLINKS= rtprio.1 idprio.1
|
| H A D | rtprio.c | 54 struct rtprio rtp; in main() 73 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main() 113 if (rtprio(RTP_SET, proc, &rtp) != 0) in main()
|
| /freebsd-src/lib/libthr/thread/ |
| H A D | thr_kern.c | 66 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam() 88 struct rtprio *rtp) in _schedparam_to_rtp() 111 struct rtprio rtp; in _thr_getscheduler() 124 struct rtprio rtp; in _thr_setscheduler()
|
| H A D | thr_create.c | 32 #include <sys/rtprio.h> 59 struct rtprio rtp; in _pthread_create()
|
| H A D | thr_private.h | 846 int _rtp_to_schedparam(const struct rtprio *rtp, int *policy, 849 struct rtprio *rtp) __hidden;
|
| /freebsd-src/sys/kern/ |
| H A D | ksched.c | 108 struct rtprio rtp; in getscheduler() 143 struct rtprio rtp; in ksched_getparam() 173 struct rtprio rtp; in ksched_setscheduler()
|
| H A D | kern_resource.c | 294 struct rtprio *rtp; 301 struct rtprio rtp; in sys_rtprio_thread() 307 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio_thread() 328 return (copyout(&rtp, uap->rtp, sizeof(struct rtprio))); in sys_rtprio_thread() 333 /* Disallow setting rtprio in most cases if not superuser. */ in sys_rtprio_thread() 375 struct rtprio *rtp; 383 struct rtprio rtp; in sys_rtprio() 388 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio() 416 struct rtprio rtp2; in sys_rtprio() 431 return (copyout(&rtp, uap->rtp, sizeof(struct rtprio))); in sys_rtprio() [all...] |
| H A D | kern_thr.c | 178 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 D | kern_poll.c | 555 struct rtprio rtp; in poll_idle()
|
| /freebsd-src/tools/test/stress2/misc/ |
| H A D | mlockall2.sh | 125 struct rtprio rtp; 137 if (rtprio(RTP_SET, 0, &rtp) == -1)
|
| /freebsd-src/lib/libutil/ |
| H A D | login_class.c | 29 #include <sys/rtprio.h> 490 struct rtprio rtp; in setclasspriority() 495 rc = rtprio(RTP_SET, 0, &rtp); in setclasspriority() 497 struct rtprio rtp; in setclasspriority() 502 rc = rtprio(RTP_SET, 0, &rtp); in setclasspriority()
|
| /freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
| H A D | sched.h | 226 struct rtprio rtp; in sched_set_fifo() 236 struct rtprio rtp; in sched_set_fifo_low()
|
| /freebsd-src/lib/libsys/ |
| H A D | Makefile.sys | 300 rtprio.2 \ 492 MLINKS+=rtprio.2 rtprio_thread.2
|
| H A D | _libsys.h | 44 struct rtprio; 170 typedef int (__sys_rtprio_t)(int, pid_t, struct rtprio *); 355 typedef int (__sys_rtprio_thread_t)(int, lwpid_t, struct rtprio *); 572 int __sys_rtprio(int function, pid_t pid, struct rtprio * rtp); 757 int __sys_rtprio_thread(int function, lwpid_t lwpid, struct rtprio * rtp);
|
| H A D | Symbol.sys.map | 187 rtprio;
|
| /freebsd-src/usr.sbin/watchdogd/ |
| H A D | watchdogd.c | 120 struct rtprio rtp; in main() 135 if (rtprio(RTP_SET, 0, &rtp) == -1) in main()
|
| /freebsd-src/contrib/ntp/ntpd/ |
| H A D | refclock_gpsvme.c | 135 rtprio(0,120); /* set real time priority */ in psc_start()
|
| H A D | ntpd.c | 527 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-src/usr.sbin/ |
| H A D | Makefile | 76 rtprio \
|
| /freebsd-src/tests/sys/audit/ |
| H A D | process-control.c | 1280 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-src/sys/compat/linux/ |
| H A D | linux_misc.c | 2708 linux_up_rtprio_if(struct thread *td1, struct rtprio *rtp) in linux_up_rtprio_if() 2710 struct rtprio rtp2; in linux_up_rtprio_if() 2724 linux_rtprio2ioprio(struct rtprio *rtp) in linux_rtprio2ioprio() 2750 linux_ioprio2rtprio(int ioprio, struct rtprio *rtp) in linux_ioprio2rtprio() 2777 struct rtprio rtp; in linux_ioprio_get() 2878 struct rtprio rtp; in linux_ioprio_set()
|