Searched refs:RTP_SET (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/tools/regression/priv/ |
| H A D | priv_sched_rtprio.c | 112 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_normal() 135 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_idle() 158 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_curproc_realtime() 181 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_myproc_normal() 204 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_myproc_idle() 227 error = rtprio(RTP_SET, 0, &rtp); in priv_sched_rtprio_myproc_realtime() 250 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_normal() 273 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_idle() 296 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_realtime()
|
| /freebsd-13.1/sys/sys/ |
| H A D | rtprio.h | 69 #define RTP_SET 1 macro
|
| /freebsd-13.1/usr.sbin/rtprio/ |
| H A D | rtprio.c | 116 if (rtprio(RTP_SET, proc, &rtp) != 0) in main()
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_kern.c | 130 return (rtprio_thread(RTP_SET, lwpid, &rtp)); in _thr_setscheduler()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | login_class.c | 459 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext() 467 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_resource.c | 309 if (uap->function == RTP_SET) in sys_rtprio_thread() 332 case RTP_SET: in sys_rtprio_thread() 390 if (uap->function == RTP_SET) in sys_rtprio() 435 case RTP_SET: in sys_rtprio()
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntpd.c | 510 # ifdef RTP_SET in set_process_priority() 517 if (rtprio(RTP_SET, getpid(), &srtp) < 0) in set_process_priority()
|
| /freebsd-13.1/usr.sbin/watchdogd/ |
| H A D | watchdogd.c | 137 if (rtprio(RTP_SET, 0, &rtp) == -1) in main()
|