Searched refs:tv (Results 251 - 275 of 567) sorted by relevance

<<11121314151617181920>>

/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/
H A Dmain.c101 struct timeval tv; local
179 gettimeofday(&tv, 0);
180 dvmrp_genid = tv.tv_sec;
678 struct timeval tv; local
687 gettimeofday(&tv, NULL);
688 buf[0] = tv.tv_sec;
/netbsd-6-1-5-RELEASE/sys/nfs/
H A Dnfs_iod.c322 struct timeval ktvin, ktvout, tv; local
356 getmicrotime(&tv);
357 if (tv.tv_sec > nuidp->nu_timestamp.tv_sec ||
358 (tv.tv_sec == nuidp->nu_timestamp.tv_sec &&
359 tv.tv_usec > nuidp->nu_timestamp.tv_usec))
360 nuidp->nu_timestamp = tv;
/netbsd-6-1-5-RELEASE/sbin/newfs_ext2fs/
H A Dmke2fs.c185 struct timeval tv; local
196 gettimeofday(&tv, NULL);
356 sblock.e2fs.e2fs_wtime = tv.tv_sec;
365 sblock.e2fs.e2fs_lastfsck = tv.tv_sec;
659 if (fsinit(&tv) == 0)
903 fsinit(const struct timeval *tv) argument
915 init_resizeino(tv);
942 node.e2di_atime = tv->tv_sec;
943 node.e2di_ctime = tv->tv_sec;
944 node.e2di_mtime = tv
1049 init_resizeino(const struct timeval *tv) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libradius/
H A Dradlib.c553 * 0 The application should select on *fd with a timeout of tv before
560 struct timeval *tv)
623 tv->tv_sec = h->servers[h->srv].timeout;
624 tv->tv_usec = 0;
711 rad_init_send_request(struct rad_handle *h, int *fd, struct timeval *tv) argument
780 return rad_continue_send_request(h, 0, fd, tv);
928 struct timeval tv; local
932 n = rad_init_send_request(h, &fd, &tv);
938 timeradd(&tv, &timelimit, &timelimit);
946 n = select(fd + 1, &readfds, NULL, NULL, &tv);
559 rad_continue_send_request(struct rad_handle *h, int selected, int *fd, struct timeval *tv) argument
[all...]
/netbsd-6-1-5-RELEASE/dist/dhcp/common/
H A Ddispatch.c88 struct timeval tv, *tvp; local
93 tvp = process_outstanding_timeouts (&tv);
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/transp/
H A Dtransp_tli.c169 get_mount_client(char *host, struct sockaddr_in *unused_sin, struct timeval *tv, int *sock, u_long mnt_version) argument
260 if (clnt_control(client, CLSET_RETRY_TIMEOUT, (char *) tv) == FALSE) {
752 struct timeval tv; local
771 memset(&tv, 0, sizeof(tv));
772 tv.tv_sec = 3;
773 tv.tv_usec = 0;
776 clnt = clnt_create_vers_timed(host, NFS_PROGRAM, &versout, NFS_VERSION, nfs_version, proto, &tv);
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/
H A Dpcap-enet.c59 static struct timeval tv = { 0 };
99 (*printit)(buf.hdr.packet, &tv, cc, caplen);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dadjtime.c229 msgp->msgb.tv = *delta;
244 *olddelta = msgp->msgb.tv;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_zyfer.c297 ppsev.tv.tv_sec += (u_int32) JAN_1970;
298 TVTOTS(&ppsev.tv,&up->tstamp);
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/
H A Dutil-int.c283 struct timeval tv; local
290 gettimeofday( &tv, NULL );
291 t = tv.tv_sec;
293 if ( tv.tv_sec < prevTv.tv_sec
294 || ( tv.tv_sec == prevTv.tv_sec && tv.tv_usec == prevTv.tv_usec )) {
298 prevTv = tv;
311 ltm->tm_usec = tv.tv_usec;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dcfganal.c909 int sp = 0, tv = 0;
947 rslt[tv++] = st[sp++] = bb;
959 gcc_assert (tv != rslt_max);
960 rslt[tv++] = st[sp++] = e->src;
969 gcc_assert (tv != rslt_max);
970 rslt[tv++] = st[sp++] = e->dest;
976 for (sp = 0; sp < tv; sp++)
978 return tv;
904 int sp = 0, tv = 0; local
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dkern_select_50.c92 syscallarg(struct timeval50 *) tv;
98 if (SCARG(uap, tv)) {
99 error = copyin(SCARG(uap, tv), (void *)&atv50, sizeof(atv50));
H A Dkern_time_50.c207 syscallarg(const struct timeval50 *) tv;
212 int error = copyin(SCARG(uap, tv), &atv50, sizeof(atv50));
641 struct timeval tv; local
644 error = copyin(args->tv, &tv50, sizeof(tv50));
647 timeval50_to_timeval(&tv50, &tv);
648 error = settimeofday1(&tv, false, args->tzp, l, false);
728 struct timeval tv; local
730 TIMESPEC_TO_TIMEVAL(&tv, &boottime);
731 timeval_to_timeval50(&tv, &boottime50);
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/
H A Dnetbsd32_select.c61 syscallarg(netbsd32_timevalp_t) tv;
67 if (SCARG_P32(uap, tv)) {
68 error = copyin(SCARG_P32(uap, tv), &tv32, sizeof(tv32));
/netbsd-6-1-5-RELEASE/sys/compat/osf1/
H A Dosf1_generic.c165 if (SCARG(uap, tv)) {
167 error = copyin(SCARG(uap, tv), &otv, sizeof otv);
/netbsd-6-1-5-RELEASE/tests/lib/librt/
H A Dt_sched.c197 struct timespec tv; local
207 ATF_REQUIRE(sched_rr_get_interval(-INT_MAX, &tv) != 0);
/netbsd-6-1-5-RELEASE/bin/cp/
H A Dutils.c65 static struct timeval tv[2]; local
67 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
68 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
70 if (lutimes(file, tv)) {
/netbsd-6-1-5-RELEASE/dist/dhcp/dhcpctl/
H A Dremote.c305 omapi_typed_data_t *tv; local
321 tv = va_arg (ap, omapi_typed_data_t *);
322 if (tv)
323 omapi_typed_data_reference (&p -> message, tv, MDL);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/zkt/
H A Dlog.c388 struct timeval tv; local
413 gettimeofday (&tv, NULL);
414 t = localtime ((time_t *) &tv.tv_sec);
418 t->tm_hour, t->tm_min, t->tm_sec, tv.tv_usec / 1000);
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/
H A Devbuffer.c61 struct timeval tv, *ptv = NULL; local
64 evutil_timerclear(&tv);
65 tv.tv_sec = timeout;
66 ptv = &tv;
H A Dpoll.c137 poll_dispatch(struct event_base *base, void *arg, struct timeval *tv) argument
144 if (tv != NULL)
145 msec = tv->tv_sec * 1000 + (tv->tv_usec + 999) / 1000;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/
H A Dntptime.c88 struct timeval tv; local
292 tv.tv_sec = ntv.time.tv_sec;
293 tv.tv_usec = ntv.time.tv_frac_sec;
294 TVTOTS(&tv, &ts);
H A Dtg.c259 struct timeval tv; /* system clock at startup */ local
354 gettimeofday(&tv, NULL);
355 tm = gmtime(&tv.tv_sec);
367 delay(SECOND - tv.tv_usec * 8 / 1000);
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/clients/tools/
H A Dldapdelete.c265 struct timeval tv; local
271 tv.tv_sec = 0;
272 tv.tv_usec = 100000;
274 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
H A Dldappasswd.c319 struct timeval tv; local
325 tv.tv_sec = 0;
326 tv.tv_usec = 100000;
328 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );

Completed in 318 milliseconds

<<11121314151617181920>>