Home
last modified time | relevance | path

Searched refs:rtp (Results 1 – 17 of 17) sorted by relevance

/f-stack/freebsd/kern/
H A Dksched.c110 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 Dkern_resource.c296 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 Dkern_thr.c178 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 Dkern_poll.c556 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 Dtty.c2077 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 Dsystrace_args.c859 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 Dlogin_class.c431 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 Dallwinner,sun4i-a10-ts.yaml65 rtp: rtp@1c25000 {
/f-stack/freebsd/sys/
H A Dthr.h59 struct rtprio *rtp; /* Real-time scheduling priority */ member
H A Dproc.h1163 int thread_create(struct thread *td, struct rtprio *rtp,
H A Dsysproto.h504 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 Dsun5i-a13.dtsi55 thermal-sensors = <&rtp>;
H A Dsun5i-gr8-evb.dts287 &rtp {
H A Dsun4i-a10.dtsi134 thermal-sensors = <&rtp>;
944 rtp: rtp@1c25000 { label
H A Dsun5i.dtsi646 rtp: rtp@1c25000 { label
H A Dsun6i-a31.dtsi172 thermal-sensors = <&rtp>;
809 rtp: rtp@1c25000 { label
H A Dsun7i-a20.dtsi147 thermal-sensors = <&rtp>;
1312 rtp: rtp@1c25000 { label