Lines Matching refs:rtp
108 struct rtprio rtp;
112 pri_to_rtp(td, &rtp);
113 switch (rtp.type) {
143 struct rtprio rtp;
145 pri_to_rtp(td, &rtp);
146 if (RTP_PRIO_IS_REALTIME(rtp.type))
147 param->sched_priority = rtpprio_to_p4prio(rtp.prio);
149 if (PRI_MIN_TIMESHARE < rtp.prio)
157 param->sched_priority = tsprio_to_p4prio(rtp.prio);
173 struct rtprio rtp;
182 rtp.prio = p4prio_to_rtpprio(param->sched_priority);
183 rtp.type = (policy == SCHED_FIFO) ? RTP_PRIO_FIFO :
185 rtp_to_pri(&rtp, td);
193 rtp.type = RTP_PRIO_NORMAL;
194 rtp.prio = p4prio_to_tsprio(param->sched_priority);
195 rtp_to_pri(&rtp, td);