/freebsd-11.0-release/contrib/netbsd-tests/kernel/ |
H A D | t_lock.c | 62 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 D | h_sigcli.c | 39 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 D | sendfile.c | 132 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 D | progressbar.c | 405 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 D | flock_helper.c | 1059 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 D | iscsid.c | 375 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 D | ntpdate.c | 1551 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 D | ibcs2_misc.c | 852 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 D | ctld.c | 2208 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 D | kern_time.c | 663 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 D | systrace_args.c | 519 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 D | freebsd32_misc.c | 510 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 D | freebsd32_proto.h | 91 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 D | freebsd32_systrace_args.c | 522 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 D | regress.c | 950 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 D | svr4_misc.c | 1507 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 D | syscalls.c | 1398 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 D | linux_misc.c | 1244 (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 D | linux_systrace_args.c | 730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
|
H A D | linux_proto.h | 328 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 D | linux_systrace_args.c | 329 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 344 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
|
H A D | linux_proto.h | 163 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 D | linux32_systrace_args.c | 706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
|
H A D | linux32_proto.h | 328 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 D | sysproto.h | 311 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
|