Lines Matching refs:rtprmsp

589 	rtparms_t *rtprmsp = (rtparms_t *)prmsp;  in rt_parmsin()  local
597 if ((rtprmsp->rt_pri < 0 || rtprmsp->rt_pri > rt_maxpri) && in rt_parmsin()
598 rtprmsp->rt_pri != RT_NOCHANGE) in rt_parmsin()
601 cflags = (rtprmsp->rt_pri != RT_NOCHANGE ? RT_DOPRI : 0); in rt_parmsin()
603 if ((rtprmsp->rt_tqsecs == 0 && rtprmsp->rt_tqnsecs == 0) || in rt_parmsin()
604 rtprmsp->rt_tqnsecs >= NANOSEC) in rt_parmsin()
607 if (rtprmsp->rt_tqnsecs != RT_NOCHANGE) in rt_parmsin()
610 if (rtprmsp->rt_tqnsecs >= 0) { in rt_parmsin()
611 if ((ticks = SEC_TO_TICK((longlong_t)rtprmsp->rt_tqsecs) + in rt_parmsin()
612 NSEC_TO_TICK_ROUNDUP(rtprmsp->rt_tqnsecs)) > INT_MAX) in rt_parmsin()
615 ((rtkparms_t *)rtprmsp)->rt_tqntm = (int)ticks; in rt_parmsin()
617 if (rtprmsp->rt_tqnsecs != RT_NOCHANGE && in rt_parmsin()
618 rtprmsp->rt_tqnsecs != RT_TQINF && in rt_parmsin()
619 rtprmsp->rt_tqnsecs != RT_TQDEF) in rt_parmsin()
622 ((rtkparms_t *)rtprmsp)->rt_tqntm = rtprmsp->rt_tqnsecs; in rt_parmsin()
624 ((rtkparms_t *)rtprmsp)->rt_cflags = cflags; in rt_parmsin()
644 rtkparms_t *rtprmsp = (rtkparms_t *)prmsp; in rt_vaparmsin() local
653 rtprmsp->rt_cflags = 0; in rt_vaparmsin()
664 rtprmsp->rt_cflags |= RT_DOPRI; in rt_vaparmsin()
665 rtprmsp->rt_pri = (pri_t)vpp->pc_parm; in rt_vaparmsin()
666 if (rtprmsp->rt_pri < 0 || rtprmsp->rt_pri > rt_maxpri) in rt_vaparmsin()
673 rtprmsp->rt_cflags |= RT_DOTQ; in rt_vaparmsin()
680 rtprmsp->rt_cflags |= RT_DOTQ; in rt_vaparmsin()
687 rtprmsp->rt_cflags |= RT_DOSIG; in rt_vaparmsin()
688 rtprmsp->rt_tqsig = (int)vpp->pc_parm; in rt_vaparmsin()
689 if (rtprmsp->rt_tqsig < 0 || rtprmsp->rt_tqsig >= NSIG) in rt_vaparmsin()
702 rtprmsp->rt_pri = 0; in rt_vaparmsin()
703 rtprmsp->rt_tqntm = RT_TQDEF; in rt_vaparmsin()
704 rtprmsp->rt_tqsig = 0; in rt_vaparmsin()
705 rtprmsp->rt_cflags = RT_DOPRI | RT_DOTQ | RT_DOSIG; in rt_vaparmsin()
706 } else if ((rtprmsp->rt_cflags & RT_DOTQ) != 0) { in rt_vaparmsin()
715 rtprmsp->rt_tqntm = (int)ticks; in rt_vaparmsin()
719 rtprmsp->rt_tqntm = nsecs; in rt_vaparmsin()