Lines Matching refs:it_value
309 * suffice, therefore, to reload the real time .it_value from the
343 timerclear(&aitv.it_value);
345 aitv.it_value = p->p_rtime;
346 timevalsub(&aitv.it_value, &now);
350 timerclear(&aitv.it_value);
368 user_itv.it_value.tv_sec = aitv.it_value.tv_sec;
369 user_itv.it_value.tv_usec = aitv.it_value.tv_usec;
375 user_itv.it_value.tv_sec = aitv.it_value.tv_sec;
376 user_itv.it_value.tv_usec = aitv.it_value.tv_usec;
407 aitv.it_value.tv_sec = user_itv.it_value.tv_sec;
408 aitv.it_value.tv_usec = user_itv.it_value.tv_usec;
415 aitv.it_value.tv_sec = user_itv.it_value.tv_sec;
416 aitv.it_value.tv_usec = user_itv.it_value.tv_usec;
423 if (itimerfix(&aitv.it_value) || itimerfix(&aitv.it_interval))
430 if (timerisset(&aitv.it_value)) {
432 timevaladd(&p->p_rtime, &aitv.it_value);
449 if (timerisset(&aitv.it_value))
460 if (timerisset(&aitv.it_value))
535 * Check that a proposed value to load into the .it_value or
566 if (itp->it_value.tv_usec < usec) {
567 if (itp->it_value.tv_sec == 0) {
569 usec -= itp->it_value.tv_usec;
572 itp->it_value.tv_usec += 1000000;
573 itp->it_value.tv_sec--;
575 itp->it_value.tv_usec -= usec;
577 if (timerisset(&itp->it_value)) {
584 itp->it_value = itp->it_interval;
585 if (itp->it_value.tv_sec > 0) {
586 itp->it_value.tv_usec -= usec;
587 if (itp->it_value.tv_usec < 0) {
588 itp->it_value.tv_usec += 1000000;
589 itp->it_value.tv_sec--;
593 itp->it_value.tv_usec = 0; /* sec is already 0 */