Lines Matching defs:rtp
178 struct rtprio rtp, *rtpp;
182 if (param->rtp != 0) {
183 error = copyin(param->rtp, &rtp, sizeof(struct rtprio));
186 rtpp = &rtp;
192 thread_create(struct thread *td, struct rtprio *rtp,
201 if (rtp != NULL) {
202 switch(rtp->type) {
208 if (rtp->prio > RTP_PRIO_MAX)
212 rtp->prio = 0;
275 if (rtp != NULL && !(td->td_pri_class == PRI_TIMESHARE &&
276 rtp->type == RTP_PRIO_NORMAL))
277 rtp_to_pri(rtp, newtd);