Searched refs:tv (Results 276 - 300 of 392) sorted by relevance

<<111213141516

/freebsd-9.3-release/contrib/ntp/libntp/
H A Dntp_calendar.c287 const vint64 *tv
294 res = (time_t)tv->D_s.lo;
298 res = (time_t)tv->q_s;
302 res = ((time_t)tv->d_s.hi << 32) | tv->D_s.lo;
/freebsd-9.3-release/crypto/heimdal/kuser/
H A Dklist.c382 struct timeval tv; local
410 gettimeofday (&tv, NULL);
413 if (do_verbose || tv.tv_sec < ct.EndTimestamp)
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_object.c351 list_add(&lobj->tv.head, head);
353 list_add_tail(&lobj->tv.head, head);
368 list_for_each_entry(lobj, head, tv.head) {
H A Dradeon_drv.c165 MODULE_PARM_DESC(tv, "TV enable (0 = disable)");
166 module_param_named(tv, radeon_tv, int, 0444);
/freebsd-9.3-release/sys/dev/sound/
H A Dclone.c112 struct timeval tv; local
123 microuptime(&tv);
124 TIMEVAL_TO_TIMESPEC(&tv, tsp);
/freebsd-9.3-release/sys/netsmb/
H A Dsmb_trantcp.c203 struct timeval tv; local
224 TIMESPEC_TO_TIMEVAL(&tv, &nbp->nbp_timo);
225 error = selsocket(nbp->nbp_tso, POLLIN, &tv, td);
/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dtimed.c706 struct timeval tv; local
709 (void)gettimeofday(&tv, (struct timezone *)0);
710 tv_sec = tv.tv_sec;
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_tsyncpci.c159 struct timeval tv; member in struct:NtpTimeObj
598 DTOLFP(((double)TimeContext.tv.tv_usec / 1000000.0), &pp->lastrec);
606 pp->lastrec.Ul_i.Xl_ui += (unsigned int)TimeContext.tv.tv_sec +
/freebsd-9.3-release/crypto/openssh/
H A Dsftp-server.c863 static struct timeval tv[2]; local
865 tv[0].tv_sec = a->atime;
866 tv[0].tv_usec = 0;
867 tv[1].tv_sec = a->mtime;
868 tv[1].tv_usec = 0;
869 return tv;
H A Dclientloop.c253 struct timeval tv; local
254 gettimeofday(&tv, NULL);
255 return (double) tv.tv_sec + (double) tv.tv_usec / 1000000.0;
584 struct timeval tv, *tvp; local
653 tv.tv_sec = timeout_secs;
654 tv.tv_usec = 0;
655 tvp = &tv;
H A Dloginrec.c405 struct timeval tv; local
407 gettimeofday(&tv, NULL);
409 li->tv_sec = tv.tv_sec;
410 li->tv_usec = tv.tv_usec;
H A Dserverloop.c284 struct timeval tv, *tvp; local
365 tv.tv_sec = max_time_milliseconds / 1000;
366 tv.tv_usec = 1000 * (max_time_milliseconds % 1000);
367 tvp = &tv;
/freebsd-9.3-release/sys/dev/ieee488/
H A Dibfoo.c277 struct timeval tv; local
300 getmicrouptime(&tv);
301 if (timevalcmp(&ib->deadline, &tv, <)) {
1004 struct timeval deadline, tv; local
1086 getmicrouptime(&tv);
1087 if (timevalcmp(&deadline, &tv, <))
/freebsd-9.3-release/sys/kern/
H A Duipc_socket.c2511 struct timeval tv; local
2661 CP(tv32, tv, tv_sec);
2662 CP(tv32, tv, tv_usec);
2665 error = sooptcopyin(sopt, &tv, sizeof tv,
2666 sizeof tv);
2669 if (tv.tv_sec < 0 || tv.tv_usec < 0 ||
2670 tv.tv_usec >= 1000000) {
2674 val = tvtohz(&tv);
2746 struct timeval tv; local
[all...]
H A Duipc_sem.c810 struct timeval tv; local
843 TIMESPEC_TO_TIMEVAL(&tv, &ts1);
844 if (tv.tv_sec < 0) {
849 &sem_lock, tvtohz(&tv));
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dhttp.c2355 struct timeval tv; local
2356 tv.tv_sec = timeout_in_secs;
2357 tv.tv_usec = 0;
2358 evhttp_connection_set_timeout_tv(evcon, &tv);
2364 const struct timeval* tv)
2366 if (tv) {
2367 evcon->timeout = *tv;
2379 const struct timeval *tv)
2381 if (tv) {
2382 evcon->initial_retry_timeout = *tv;
2363 evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon, const struct timeval* tv) argument
2378 evhttp_connection_set_initial_retry_tv(struct evhttp_connection *evcon, const struct timeval *tv) argument
3643 struct timeval tv; local
3651 evhttp_set_timeout_tv(struct evhttp* http, const struct timeval* tv) argument
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c317 struct timeval tv; local
326 if (gettimeofday(&tv, NULL) != 0)
329 ts.tv_sec = tv.tv_sec + delta / hz;
330 ts.tv_nsec = tv.tv_usec * 1000 + (delta % hz) * (NANOSEC / hz);
/freebsd-9.3-release/contrib/gcc/
H A Dtoplev.c477 struct timeval tv; local
479 gettimeofday (&tv, NULL);
480 local_tick = tv.tv_sec * 1000 + tv.tv_usec / 1000;
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c116 struct timeval tv; local
126 tv.tv_sec = timeout;
127 tv.tv_usec = 0;
130 timeout == -1 ? NULL : &tv);
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_send.c1161 struct timeval tv, *tvp; local
1166 tvp = &tv;
1167 tv = evTimeVal(*tsp);
1176 *tsp = evTimeSpec(tv);
/freebsd-9.3-release/lib/libc/rpc/
H A Dsvc_vc.c772 struct timeval tv, tdiff, tmax; local
775 gettimeofday(&tv, NULL);
789 timersub(&tv, &cd->last_recv_time, &tdiff);
796 if (tv.tv_sec - cd->last_recv_time.tv_sec > timeout) {
/freebsd-9.3-release/lib/libusb/
H A Dlibusb20_int.h47 struct timespec tv; member in union:libusb20_session_data
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dfsutil.c797 struct timeval tv; local
804 gettimeofday(&tv, NULL);
805 delay_usec = (tv.tv_sec - slowio_starttime.tv_sec) * 1000000 +
806 (tv.tv_usec - slowio_starttime.tv_usec);
/freebsd-9.3-release/sys/kgssapi/
H A Dgsstest.c802 struct timeval tv; local
847 tv.tv_sec = 5;
848 tv.tv_usec = 0;
853 (xdrproc_t) xdr_int, (char *) &num, tv);
/freebsd-9.3-release/sys/netgraph/
H A Dng_pptpgre.c976 struct timeval tv; local
979 microuptime(&tv);
980 t = (pptptime_t)tv.tv_sec * PPTP_TIME_SCALE;
981 t += tv.tv_usec / (1000000 / PPTP_TIME_SCALE);

Completed in 471 milliseconds

<<111213141516