| /f-stack/freebsd/kern/ |
| H A D | ksched.c | 110 struct rtprio rtp; in getscheduler() local 114 pri_to_rtp(td, &rtp); in getscheduler() 115 switch (rtp.type) { in getscheduler() 145 struct rtprio rtp; in ksched_getparam() local 147 pri_to_rtp(td, &rtp); in ksched_getparam() 148 if (RTP_PRIO_IS_REALTIME(rtp.type)) in ksched_getparam() 151 if (PRI_MIN_TIMESHARE < rtp.prio) in ksched_getparam() 175 struct rtprio rtp; in ksched_setscheduler() local 187 rtp_to_pri(&rtp, td); in ksched_setscheduler() 195 rtp.type = RTP_PRIO_NORMAL; in ksched_setscheduler() [all …]
|
| H A D | kern_resource.c | 296 struct rtprio *rtp; member 303 struct rtprio rtp; in sys_rtprio_thread() local 309 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio_thread() 328 pri_to_rtp(td1, &rtp); in sys_rtprio_thread() 330 return (copyout(&rtp, uap->rtp, sizeof(struct rtprio))); in sys_rtprio_thread() 377 struct rtprio *rtp; member 385 struct rtprio rtp; in sys_rtprio() local 390 cierror = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio() 416 pri_to_rtp(td, &rtp); in sys_rtprio() 427 rtp.type = rtp2.type; in sys_rtprio() [all …]
|
| H A D | kern_thr.c | 178 struct rtprio rtp, *rtpp; in kern_thr_new() local 182 if (param->rtp != 0) { in kern_thr_new() 183 error = copyin(param->rtp, &rtp, sizeof(struct rtprio)); in kern_thr_new() 186 rtpp = &rtp; in kern_thr_new() 192 thread_create(struct thread *td, struct rtprio *rtp, in thread_create() argument 201 if (rtp != NULL) { in thread_create() 202 switch(rtp->type) { in thread_create() 208 if (rtp->prio > RTP_PRIO_MAX) in thread_create() 212 rtp->prio = 0; in thread_create() 276 rtp->type == RTP_PRIO_NORMAL)) in thread_create() [all …]
|
| H A D | kern_poll.c | 556 struct rtprio rtp; in poll_idle() local 558 rtp.prio = RTP_PRIO_MAX; /* lowest priority */ in poll_idle() 559 rtp.type = RTP_PRIO_IDLE; in poll_idle() 561 rtp_to_pri(&rtp, td); in poll_idle()
|
| H A D | tty.c | 2077 ttyhook_register(struct tty **rtp, struct proc *p, int fd, struct ttyhook *th, in ttyhook_register() argument 2136 *rtp = tp; in ttyhook_register()
|
| H A D | systrace_args.c | 859 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ in systrace_args() 2461 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ in systrace_args()
|
| /f-stack/tools/libutil/ |
| H A D | login_class.c | 431 struct rtprio rtp; in setusercontext() local 451 rtp.type = RTP_PRIO_IDLE; in setusercontext() 453 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setusercontext() 454 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext() 459 rtp.type = RTP_PRIO_REALTIME; in setusercontext() 461 rtp.prio = p < RTP_PRIO_MIN ? RTP_PRIO_MIN : p; in setusercontext() 462 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mfd/ |
| H A D | allwinner,sun4i-a10-ts.yaml | 65 rtp: rtp@1c25000 {
|
| /f-stack/freebsd/sys/ |
| H A D | thr.h | 59 struct rtprio *rtp; /* Real-time scheduling priority */ member
|
| H A D | proc.h | 1163 int thread_create(struct thread *td, struct rtprio *rtp,
|
| H A D | sysproto.h | 504 char rtp_l_[PADL_(struct rtprio *)]; struct rtprio * rtp; char rtp_r_[PADR_(struct rtprio *)]; member 1313 char rtp_l_[PADL_(struct rtprio *)]; struct rtprio * rtp; char rtp_r_[PADR_(struct rtprio *)]; member
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | sun5i-a13.dtsi | 55 thermal-sensors = <&rtp>;
|
| H A D | sun5i-gr8-evb.dts | 287 &rtp {
|
| H A D | sun4i-a10.dtsi | 134 thermal-sensors = <&rtp>; 944 rtp: rtp@1c25000 { label
|
| H A D | sun5i.dtsi | 646 rtp: rtp@1c25000 { label
|
| H A D | sun6i-a31.dtsi | 172 thermal-sensors = <&rtp>; 809 rtp: rtp@1c25000 { label
|
| H A D | sun7i-a20.dtsi | 147 thermal-sensors = <&rtp>; 1312 rtp: rtp@1c25000 { label
|