Lines Matching refs:rtpp
359 rtproc_t *rtpp; in rt_enterclass() local
371 rtpp = (rtproc_t *)bufp; in rt_enterclass()
372 ASSERT(rtpp != NULL); in rt_enterclass()
384 rtpp->rt_pri = 0; in rt_enterclass()
385 rtpp->rt_pquantum = rt_dptbl[0].rt_quantum; in rt_enterclass()
386 rtpp->rt_tqsignal = 0; in rt_enterclass()
392 rtpp->rt_pri = 0; in rt_enterclass()
394 rtpp->rt_pri = rtkparmsp->rt_pri; in rt_enterclass()
397 rtpp->rt_pquantum = RT_TQINF; in rt_enterclass()
400 rtpp->rt_pquantum = rt_dptbl[rtpp->rt_pri].rt_quantum; in rt_enterclass()
402 rtpp->rt_pquantum = rtkparmsp->rt_tqntm; in rt_enterclass()
405 rtpp->rt_tqsignal = 0; in rt_enterclass()
407 rtpp->rt_tqsignal = rtkparmsp->rt_tqsig; in rt_enterclass()
409 rtpp->rt_flags = 0; in rt_enterclass()
410 rtpp->rt_tp = t; in rt_enterclass()
417 t->t_cldata = (void *)rtpp; in rt_enterclass()
419 rt_change_priority(t, rtpp); in rt_enterclass()
425 rtpp->rt_next = rt_plisthead.rt_next; in rt_enterclass()
426 rtpp->rt_prev = &rt_plisthead; in rt_enterclass()
427 rt_plisthead.rt_next->rt_prev = rtpp; in rt_enterclass()
428 rt_plisthead.rt_next = rtpp; in rt_enterclass()
854 rtproc_t *rtpp = (rtproc_t *)tx->t_cldata; in rt_parmsset() local
877 rtpp->rt_pri = rtkprmsp->rt_pri; in rt_parmsset()
878 rt_change_priority(tx, rtpp); in rt_parmsset()
881 rtpp->rt_pquantum = RT_TQINF; in rt_parmsset()
883 rtpp->rt_timeleft = rtpp->rt_pquantum = in rt_parmsset()
884 rt_dptbl[rtpp->rt_pri].rt_quantum; in rt_parmsset()
886 rtpp->rt_timeleft = rtpp->rt_pquantum = rtkprmsp->rt_tqntm; in rt_parmsset()
889 rtpp->rt_tqsignal = rtkprmsp->rt_tqsig; in rt_parmsset()
904 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_preempt() local
915 if ((rtpp->rt_flags & RTBACKQ) != 0) { in rt_preempt()
916 rtpp->rt_timeleft = rtpp->rt_pquantum; in rt_preempt()
917 rtpp->rt_flags &= ~RTBACKQ; in rt_preempt()
937 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_setrun() local
941 rtpp->rt_timeleft = rtpp->rt_pquantum; in rt_setrun()
942 rtpp->rt_flags &= ~RTBACKQ; in rt_setrun()
992 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_tick() local
997 if ((rtpp->rt_pquantum != RT_TQINF && --rtpp->rt_timeleft == 0) || in rt_tick()
999 if (rtpp->rt_timeleft == 0 && rtpp->rt_tqsignal) { in rt_tick()
1001 sigtoproc(ttoproc(t), t, rtpp->rt_tqsignal); in rt_tick()
1004 rtpp->rt_flags |= RTBACKQ; in rt_tick()
1017 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_wakeup() local
1021 rtpp->rt_timeleft = rtpp->rt_pquantum; in rt_wakeup()
1022 rtpp->rt_flags &= ~RTBACKQ; in rt_wakeup()
1029 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_yield() local
1034 rtpp->rt_flags &= ~RTBACKQ; in rt_yield()
1053 rtproc_t *rtpp = (rtproc_t *)(t->t_cldata); in rt_doprio() local
1058 *retvalp = rtpp->rt_pri; in rt_doprio()
1062 newpri = rtpp->rt_pri + incr; in rt_doprio()
1095 rt_change_priority(kthread_t *t, rtproc_t *rtpp) in rt_change_priority() argument
1101 new_pri = rt_dptbl[rtpp->rt_pri].rt_globpri; in rt_change_priority()
1103 t->t_cpri = rtpp->rt_pri; in rt_change_priority()
1110 rtpp->rt_flags |= RTBACKQ; in rt_change_priority()
1113 rtpp->rt_timeleft = rtpp->rt_pquantum; in rt_change_priority()
1127 rtpp->rt_timeleft = rtpp->rt_pquantum; in rt_change_priority()
1129 rtpp->rt_flags |= RTBACKQ; in rt_change_priority()