Searched refs:itv (Results 1 - 25 of 25) sorted by relevance

/freebsd-11.0-release/contrib/netbsd-tests/kernel/
H A Dt_lock.c62 struct itimerval itv; local
68 itv.it_interval.tv_sec = 0;
69 itv.it_interval.tv_usec = 0;
70 itv.it_value.tv_sec = 1;
71 itv.it_value.tv_usec = 0;
72 RL(setitimer(ITIMER_VIRTUAL, &itv, NULL));
/freebsd-11.0-release/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_sigcli.c39 struct itimerval itv; local
55 itv.it_interval.tv_sec = itv.it_value.tv_sec = 0;
56 itv.it_interval.tv_usec = itv.it_value.tv_usec = 10000; /* 10ms */
58 if (setitimer(ITIMER_REAL, &itv, NULL) == -1)
/freebsd-11.0-release/tools/regression/sockets/sendfile/
H A Dsendfile.c132 struct itimerval itv; local
133 bzero(&itv, sizeof(itv));
135 itv.it_value.tv_sec = seconds;
138 setitimer(ITIMER_REAL, &itv, NULL);
144 struct itimerval itv; local
145 bzero(&itv, sizeof(itv));
146 setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-11.0-release/contrib/tnftp/src/
H A Dprogressbar.c405 struct itimerval itv; local
407 itv.it_value.tv_sec = wait;
408 itv.it_value.tv_usec = 0;
409 itv.it_interval = itv.it_value;
410 setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-11.0-release/tests/sys/file/
H A Dflock_helper.c1059 struct itimerval itv; local
1106 itv.it_interval.tv_sec = 0;
1107 itv.it_interval.tv_usec = 0;
1108 itv.it_value.tv_sec = 0;
1109 itv.it_value.tv_usec = 2;
1110 setitimer(ITIMER_REAL, &itv, NULL);
1146 struct itimerval itv; local
1199 itv.it_interval.tv_sec = 0;
1200 itv.it_interval.tv_usec = 0;
1201 itv
[all...]
/freebsd-11.0-release/usr.sbin/iscsid/
H A Discsid.c375 struct itimerval itv; local
394 bzero(&itv, sizeof(itv));
395 itv.it_interval.tv_sec = 1;
396 itv.it_value.tv_sec = timeout;
400 error = setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-11.0-release/contrib/ntp/ntpdate/
H A Dntpdate.c1551 struct itimerval itv;
1598 itv.it_interval.tv_sec = 0;
1599 itv.it_value.tv_sec = 0;
1600 itv.it_interval.tv_usec = 1000000/TIMER_HZ;
1601 itv.it_value.tv_usec = 1000000/(TIMER_HZ<<1);
1603 setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-11.0-release/sys/i386/ibcs2/
H A Dibcs2_misc.c852 struct itimerval itv, oitv; local
855 timevalclear(&itv.it_interval);
856 itv.it_value.tv_sec = uap->sec;
857 itv.it_value.tv_usec = 0;
858 error = kern_setitimer(td, ITIMER_REAL, &itv, &oitv);
/freebsd-11.0-release/usr.sbin/ctld/
H A Dctld.c2208 struct itimerval itv; local
2213 bzero(&itv, sizeof(itv));
2214 error = setitimer(ITIMER_REAL, &itv, NULL);
2237 bzero(&itv, sizeof(itv));
2238 itv.it_interval.tv_sec = 1;
2239 itv.it_value.tv_sec = timeout;
2240 error = setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-11.0-release/sys/kern/
H A Dkern_time.c663 struct itimerval *itv; member in struct:getitimer_args
675 return (copyout(&aitv, uap->itv, sizeof (struct itimerval)));
719 struct itimerval *itv, *oitv; member in struct:setitimer_args
728 if (uap->itv == NULL) {
729 uap->itv = uap->oitv;
733 if ((error = copyin(uap->itv, &aitv, sizeof(struct itimerval))))
H A Dsystrace_args.c519 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
535 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
/freebsd-11.0-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c510 struct itimerval itv, oitv, *itvp; local
514 if (uap->itv != NULL) {
515 error = copyin(uap->itv, &i32, sizeof(i32));
518 TV_CP(i32, itv, it_interval);
519 TV_CP(i32, itv, it_value);
520 itvp = &itv;
534 struct itimerval itv; local
538 error = kern_getitimer(td, uap->which, &itv);
539 if (error || uap->itv == NULL)
541 TV_CP(itv, i3
[all...]
H A Dfreebsd32_proto.h91 char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; member in struct:freebsd32_setitimer_args
96 char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; member in struct:freebsd32_getitimer_args
H A Dfreebsd32_systrace_args.c522 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
538 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
/freebsd-11.0-release/contrib/ntp/sntp/libevent/test/
H A Dregress.c950 struct itimerval itv; local
960 memset(&itv, 0, sizeof(itv));
961 itv.it_value.tv_sec = 0;
962 itv.it_value.tv_usec = 100000;
963 if (setitimer(ITIMER_REAL, &itv, NULL) == -1)
992 struct itimerval itv; local
1002 memset(&itv, 0, sizeof(itv));
1003 itv
[all...]
/freebsd-11.0-release/sys/compat/svr4/
H A Dsvr4_misc.c1507 struct itimerval itv, oitv; local
1510 timevalclear(&itv.it_interval);
1511 itv.it_value.tv_sec = uap->sec;
1512 itv.it_value.tv_usec = 0;
1513 error = kern_setitimer(td, ITIMER_REAL, &itv, &oitv);
/freebsd-11.0-release/usr.bin/truss/
H A Dsyscalls.c1398 struct itimerval itv; local
1400 if (get_struct(pid, (void *)args[sc->offset], &itv,
1401 sizeof(itv)) != -1)
1403 (intmax_t)itv.it_interval.tv_sec,
1404 itv.it_interval.tv_usec,
1405 (intmax_t)itv.it_value.tv_sec,
1406 itv.it_value.tv_usec);
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_misc.c1244 (void *)uap->itv, (void *)uap->oitv);
1247 if (uap->itv == NULL) {
1248 uap->itv = uap->oitv;
1252 error = copyin(uap->itv, &ls, sizeof(ls));
1281 printf(ARGS(getitimer, "%p"), (void *)uap->itv);
1287 return (copyout(&ls, uap->itv, sizeof(ls)));
/freebsd-11.0-release/sys/i386/linux/
H A Dlinux_systrace_args.c730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
H A Dlinux_proto.h328 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_setitimer_args
333 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_getitimer_args
/freebsd-11.0-release/sys/amd64/linux/
H A Dlinux_systrace_args.c329 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
344 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
H A Dlinux_proto.h163 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_getitimer_args
170 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_setitimer_args
/freebsd-11.0-release/sys/amd64/linux32/
H A Dlinux32_systrace_args.c706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
H A Dlinux32_proto.h328 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_setitimer_args
333 char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)]; member in struct:linux_getitimer_args
/freebsd-11.0-release/sys/sys/
H A Dsysproto.h311 char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)]; member in struct:setitimer_args
322 char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)]; member in struct:getitimer_args

Completed in 262 milliseconds