Home
last modified time | relevance | path

Searched refs:ITIMER_REAL (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getitimer.c71 ATF_REQUIRE(getitimer(ITIMER_REAL, &it) == 0); in ATF_TC_BODY()
109 ATF_REQUIRE_ERRNO(EFAULT, getitimer(ITIMER_REAL, (void *)-1) == -1); in ATF_TC_BODY()
131 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, NULL) == 0); in ATF_TC_BODY()
164 ATF_REQUIRE_ERRNO(EFAULT, setitimer(ITIMER_REAL,(void*)-1, &ot) == -1); in ATF_TC_BODY()
187 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, &ot) == 0); in ATF_TC_BODY()
195 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, &ot) == 0); in ATF_TC_BODY()
H A Dt_sigtimedwait.c86 ATF_REQUIRE(setitimer(ITIMER_REAL, &it, NULL) == 0); in ATF_TC_BODY()
/freebsd/contrib/sendmail/libsm/
H A Dclock.c173 (void) setitimer(ITIMER_REAL, &itime, NULL);
241 (void) setitimer(ITIMER_REAL, &clr, NULL);
272 (void) setitimer(ITIMER_REAL, &clr, NULL); in sm_clear_events()
337 (void) setitimer(ITIMER_REAL, &clr, NULL);
429 (void) setitimer(ITIMER_REAL, &clr, NULL);
437 (void) setitimer(ITIMER_REAL, &clr, NULL);
456 (void) setitimer(ITIMER_REAL, &clr, NULL);
473 (void) setitimer(ITIMER_REAL, &clr, NULL);
/freebsd/usr.sbin/ppp/
H A Dtimer.c101 if (TimerList && getitimer(ITIMER_REAL, &itimer) == 0) in timer_Start()
163 if (!pt && getitimer(ITIMER_REAL, &itimer) == 0) in StopTimerNoBlock()
248 if (TimerList && getitimer(ITIMER_REAL, &itimer) == 0) in timer_Show()
287 if (setitimer(ITIMER_REAL, &itimer, NULL) == -1) in timer_InitService()
299 if (setitimer(ITIMER_REAL, &itimer, NULL) == -1) in timer_TermService()
/freebsd/usr.bin/gprof/
H A Dhertz.c52 setitimer(ITIMER_REAL, &tim, 0); in hertz()
53 setitimer(ITIMER_REAL, 0, &tim); in hertz()
/freebsd/cddl/usr.sbin/zfsd/
H A Dcallout.cc139 setitimer(ITIMER_REAL, &timerval, NULL); in Reset()
182 setitimer(ITIMER_REAL, &timerval, NULL); in ExpireCallouts()
206 getitimer(ITIMER_REAL, &timervalToAlarm); in TimeRemaining()
/freebsd/usr.bin/talk/
H A Dmsgs.c64 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in start_msgs()
74 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in end_msgs()
H A Dinvite.c85 setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0); in invite_remote()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsigtimedwait.h64 PJDLOG_VERIFY(setitimer(ITIMER_REAL, &it, NULL) == 0); in sigtimedwait()
74 PJDLOG_VERIFY(setitimer(ITIMER_REAL, &it, NULL) == 0); in sigtimedwait()
/freebsd/tools/regression/p1003_1b/
H A Dfifo.c156 if (setitimer(ITIMER_REAL, &itimerval, 0) == -1) { in fifo()
206 if (setitimer(ITIMER_REAL, &itimerval, 0) == -1) { in fifo()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_once.c175 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
187 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
H A Dt_sleep.c94 setitimer(ITIMER_REAL, &it, NULL); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c286 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
364 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
397 ATF_REQUIRE_MSG(setitimer(ITIMER_REAL, &it, NULL) == 0, in ATF_TC_BODY()
/freebsd/lib/libc/gen/
H A Dalarm.c47 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) in alarm()
H A Dualarm.c53 if (setitimer(ITIMER_REAL, &new, &old) == 0) in ualarm()
/freebsd/lib/libc/gmon/
H A Dgmon.c237 setitimer(ITIMER_REAL, &tim, 0); in hertz()
238 setitimer(ITIMER_REAL, 0, &tim); in hertz()
/freebsd/contrib/ntp/util/
H A Dtestrs6000.c35 setitimer(ITIMER_REAL, &value, &oldvalue); in main()
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_sigcli.c58 if (setitimer(ITIMER_REAL, &itv, NULL) == -1) in main()
/freebsd/contrib/kyua/utils/signals/
H A Dtimer.cpp81 if (::setitimer(ITIMER_REAL, &timeval, old_timeval) == -1) { in safe_setitimer()
274 if (::setitimer(ITIMER_REAL, &_old_timeval, NULL) == -1) { in ~global_state()
/freebsd/contrib/ntp/adjtimed/
H A Dadjtimed.c330 setitimer(ITIMER_REAL, &period, &remains); in AdjustClockRate()
453 setitimer(ITIMER_REAL, &it, (struct itimerval *)0); in ResetClockRate()
/freebsd/tools/regression/sockets/sendfile/
H A Dsendfile.c136 setitimer(ITIMER_REAL, &itv, NULL); in setup_alarm()
144 setitimer(ITIMER_REAL, &itv, NULL); in cancel_alarm()
/freebsd/tests/sys/netlink/
H A Dnetlink_socket.c130 ATF_REQUIRE(setitimer(ITIMER_REAL, &itv, NULL) == 0); in ATF_TC_BODY()
141 ATF_REQUIRE(setitimer(ITIMER_REAL, &itv, NULL) == 0); in ATF_TC_BODY()
/freebsd/contrib/ntp/include/
H A Dntp_machine.h252 # define ITIMER_REAL 0 macro
/freebsd/tools/tools/netrate/netblast/
H A Dnetblast.c93 if (setitimer(ITIMER_REAL, &it, NULL) < 0) { in blast_loop()
/freebsd/bin/pwait/
H A Dpwait.c181 if (setitimer(ITIMER_REAL, &itv, NULL) == -1) { in main()

123