Lines Matching refs:ctv
793 struct timeval ctv; in kern_getitimer() local
809 microuptime(&ctv); in kern_getitimer()
810 if (timevalcmp(&aitv->it_value, &ctv, <)) in kern_getitimer()
813 timevalsub(&aitv->it_value, &ctv); in kern_getitimer()
857 struct timeval ctv; in kern_setitimer() local
882 microuptime(&ctv); in kern_setitimer()
885 timevaladd(&aitv->it_value, &ctv); in kern_setitimer()
894 if (timevalcmp(&oitv->it_value, &ctv, <)) in kern_setitimer()
897 timevalsub(&oitv->it_value, &ctv); in kern_setitimer()
935 struct timeval ctv; in itimer_proc_continue() local
943 microuptime(&ctv); in itimer_proc_continue()
944 if (timevalcmp(&p->p_realtimer.it_value, &ctv, >=)) in itimer_proc_continue()
984 struct timeval ctv; in realitexpire() local
996 getmicrouptime(&ctv); in realitexpire()
998 microuptime(&ctv); in realitexpire()
1002 } while (timevalcmp(&p->p_realtimer.it_value, &ctv, <=)); in realitexpire()