Lines Matching defs:rtprmsp

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