Lines Matching full:rtp
185 struct rtprio rtp, *rtpp; in kern_thr_new() local
192 if (param->rtp != 0) { in kern_thr_new()
193 error = copyin(param->rtp, &rtp, sizeof(struct rtprio)); in kern_thr_new()
196 rtpp = &rtp; in kern_thr_new()
206 thread_create(struct thread *td, struct rtprio *rtp, in thread_create() argument
215 if (rtp != NULL) { in thread_create()
216 switch(rtp->type) { in thread_create()
222 if (rtp->prio > RTP_PRIO_MAX) in thread_create()
226 rtp->prio = 0; in thread_create()
293 if (rtp != NULL && !(td->td_pri_class == PRI_TIMESHARE && in thread_create()
294 rtp->type == RTP_PRIO_NORMAL)) in thread_create()
295 rtp_to_pri(rtp, newtd); in thread_create()