Lines Matching defs:rtp
110 struct rtprio rtp;
114 pri_to_rtp(td, &rtp);
115 switch (rtp.type) {
145 struct rtprio rtp;
147 pri_to_rtp(td, &rtp);
148 if (RTP_PRIO_IS_REALTIME(rtp.type))
149 param->sched_priority = rtpprio_to_p4prio(rtp.prio);
151 if (PRI_MIN_TIMESHARE < rtp.prio)
159 param->sched_priority = tsprio_to_p4prio(rtp.prio);
175 struct rtprio rtp;
184 rtp.prio = p4prio_to_rtpprio(param->sched_priority);
185 rtp.type = (policy == SCHED_FIFO) ? RTP_PRIO_FIFO :
187 rtp_to_pri(&rtp, td);
195 rtp.type = RTP_PRIO_NORMAL;
196 rtp.prio = p4prio_to_tsprio(param->sched_priority);
197 rtp_to_pri(&rtp, td);