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

12

/freebsd-10.3-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-10.3-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-10.3-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-10.3-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-10.3-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-10.3-release/usr.sbin/iscsid/
H A Discsid.c376 struct itimerval itv; local
395 bzero(&itv, sizeof(itv));
396 itv.it_interval.tv_sec = 1;
397 itv.it_value.tv_sec = timeout;
401 error = setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-10.3-release/sys/xen/interface/
H A Darch-ia64.h171 unsigned long itv; // CR72 member in struct:mapped_regs::__anon12126::__anon12127
337 unsigned long itv; // CR72 member in struct:vcpu_cr_regs::__anon12131
/freebsd-10.3-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-10.3-release/sys/i386/ibcs2/
H A Dibcs2_misc.c873 struct itimerval itv, oitv; local
876 timevalclear(&itv.it_interval);
877 itv.it_value.tv_sec = uap->sec;
878 itv.it_value.tv_usec = 0;
879 error = kern_setitimer(td, ITIMER_REAL, &itv, &oitv);
/freebsd-10.3-release/usr.sbin/ctld/
H A Dctld.c2190 struct itimerval itv; local
2195 bzero(&itv, sizeof(itv));
2196 error = setitimer(ITIMER_REAL, &itv, NULL);
2219 bzero(&itv, sizeof(itv));
2220 itv.it_interval.tv_sec = 1;
2221 itv.it_value.tv_sec = timeout;
2222 error = setitimer(ITIMER_REAL, &itv, NULL);
/freebsd-10.3-release/sys/kern/
H A Dkern_time.c656 struct itimerval *itv; member in struct:getitimer_args
668 return (copyout(&aitv, uap->itv, sizeof (struct itimerval)));
708 struct itimerval *itv, *oitv; member in struct:setitimer_args
717 if (uap->itv == NULL) {
718 uap->itv = uap->oitv;
722 if ((error = copyin(uap->itv, &aitv, sizeof(struct itimerval))))
H A Dsystrace_args.c524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
/freebsd-10.3-release/sys/ia64/include/
H A Dia64_cpu.h479 IA64_CR(itv)
/freebsd-10.3-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-10.3-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c619 struct itimerval itv, oitv, *itvp; local
623 if (uap->itv != NULL) {
624 error = copyin(uap->itv, &i32, sizeof(i32));
627 TV_CP(i32, itv, it_interval);
628 TV_CP(i32, itv, it_value);
629 itvp = &itv;
643 struct itimerval itv; local
647 error = kern_getitimer(td, uap->which, &itv);
648 if (error || uap->itv == NULL)
650 TV_CP(itv, i3
[all...]
H A Dfreebsd32_proto.h88 char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; member in struct:freebsd32_setitimer_args
93 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.c527 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
543 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
/freebsd-10.3-release/sys/compat/svr4/
H A Dsvr4_misc.c1518 struct itimerval itv, oitv; local
1521 timevalclear(&itv.it_interval);
1522 itv.it_value.tv_sec = uap->sec;
1523 itv.it_value.tv_usec = 0;
1524 error = kern_setitimer(td, ITIMER_REAL, &itv, &oitv);
/freebsd-10.3-release/usr.bin/truss/
H A Dsyscalls.c1146 struct itimerval itv; local
1148 if (get_struct(pid, (void *)args[sc->offset], &itv,
1149 sizeof(itv)) != -1)
1151 (intmax_t)itv.it_interval.tv_sec,
1152 itv.it_interval.tv_usec,
1153 (intmax_t)itv.it_value.tv_sec,
1154 itv.it_value.tv_usec);
/freebsd-10.3-release/sys/compat/linux/
H A Dlinux_misc.c1230 (void *)uap->itv, (void *)uap->oitv);
1233 if (uap->itv == NULL) {
1234 uap->itv = uap->oitv;
1238 error = copyin(uap->itv, &ls, sizeof(ls));
1267 printf(ARGS(getitimer, "%p"), (void *)uap->itv);
1273 return (copyout(&ls, uap->itv, sizeof(ls)));
/freebsd-10.3-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-10.3-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 * */
/freebsd-10.3-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

Completed in 608 milliseconds

12