/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | changepw.c | 590 struct timeval tv; local 618 tv.tv_usec = 0; 619 tv.tv_sec = 1 + (1 << i); 621 ret = select (sock + 1, &fdset, NULL, NULL, &tv);
|
H A D | v4_glue.c | 764 struct timeval tv; local 874 gettimeofday(&tv, NULL); 875 delta_t = abs((int)(tv.tv_sec - r_time_sec)); 884 tkt_age = tv.tv_sec - ad->time_sec; 892 if (tv.tv_sec > _krb5_krb_life_to_time(ad->time_sec, ad->life)) {
|
/freebsd-9.3-release/lib/libbluetooth/ |
H A D | hci.c | 142 struct timeval tv; local 147 tv.tv_sec = to; 148 tv.tv_usec = 0; 150 while ((n = select(s + 1, &rfd, NULL, NULL, &tv)) < 0) {
|
/freebsd-9.3-release/sbin/hastd/ |
H A D | proto_tcp.c | 345 struct timeval tv; local 356 tv.tv_sec = timeout; 357 tv.tv_usec = 0; 361 ret = select(tctx->tc_fd + 1, NULL, &fdset, NULL, &tv);
|
/freebsd-9.3-release/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 56 struct timeval tv; local 58 tv.tv_sec = (time_t)(Timeout / 1000); 59 tv.tv_usec = (suseconds_t)(Timeout % 1000) * 1000; 61 return (tvtohz(&tv));
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_clock.c | 590 tvtohz(tv) 591 struct timeval *tv; 616 sec = tv->tv_sec; 617 usec = tv->tv_usec;
|
H A D | sys_generic.c | 776 struct timeval tv, *tvp; local 784 TIMESPEC_TO_TIMEVAL(&tv, &ts); 785 tvp = &tv; 828 struct timeval *tv; member in struct:select_args 834 struct timeval tv, *tvp; local 837 if (uap->tv != NULL) { 838 error = copyin(uap->tv, &tv, sizeof(tv)); 841 tvp = &tv; [all...] |
H A D | kern_tc.c | 119 int tv[2]; local 122 tv[0] = boottime.tv_sec; 123 tv[1] = boottime.tv_usec; 124 return SYSCTL_OUT(req, tv, sizeof(tv));
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_carp.c | 924 struct timeval tv; local 942 tv.tv_sec = advbase; 943 tv.tv_usec = advskew * 1000000 / 256; 965 callout_reset(&sc->sc_ad_tmo, tvtohz(&tv), 1037 callout_reset(&sc->sc_ad_tmo, tvtohz(&tv), 1106 callout_reset(&sc->sc_ad_tmo, tvtohz(&tv), 1406 struct timeval tv; local 1434 tv.tv_sec = 3 * sc->sc_advbase; 1435 tv.tv_usec = sc->sc_advskew * 1000000 / 256; 1439 callout_reset(&sc->sc_md_tmo, tvtohz(&tv), [all...] |
/freebsd-9.3-release/usr.bin/quota/ |
H A D | quota.c | 573 struct timeval tv; local 624 gettimeofday(&tv, NULL); 644 tv.tv_sec + gq_rslt.getquota_rslt_u.gqr_rquota.rq_btimeleft; 646 tv.tv_sec + gq_rslt.getquota_rslt_u.gqr_rquota.rq_ftimeleft;
|
/freebsd-9.3-release/usr.sbin/keyserv/ |
H A D | keyserv.c | 230 struct timeval tv; local 235 (void) gettimeofday(&tv, (struct timezone *) NULL); 237 seed ^= (tv.tv_usec << shift) | (tv.tv_usec >> (32 - shift));
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_rpc.c | 620 struct timeval tv; local 626 memset(&tv, 0, sizeof(tv)); 627 event_once(-1, EV_TIMEOUT, rpc_hook_pause_cb, tmp, &tv);
|
/freebsd-9.3-release/contrib/pf/libevent/ |
H A D | kqueue.c | 209 kq_dispatch(struct event_base *base, void *arg, struct timeval *tv) argument 218 TIMEVAL_TO_TIMESPEC(tv, &ts);
|
H A D | select.c | 154 select_dispatch(struct event_base *base, void *arg, struct timeval *tv) argument 167 sop->event_writeset_out, NULL, tv);
|
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/ |
H A D | wpa_cli.c | 145 struct timeval tv; local 153 tv.tv_sec = 5; 154 tv.tv_usec = 0; 157 if (select(s + 1, &rfds, NULL, NULL, &tv) < 0) { 2134 struct timeval tv; 2143 tv.tv_sec = ping_interval; 2144 tv.tv_usec = 0; 2145 res = select(fd + 1, &rfds, NULL, NULL, &tv);
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 753 struct timeval tv; local 755 microtime(&tv); 756 td->td_retval[0] = tv.tv_sec; 758 return copyout((caddr_t)&tv.tv_sec, (caddr_t)uap->tp, 910 struct timeval tv; local 917 tv.tv_sec = secs; 918 tv.tv_usec = 0; 919 error = kern_settimeofday(td, &tv, NULL);
|
/freebsd-9.3-release/sys/rpc/ |
H A D | clnt_dg.c | 347 int next_sendtime, starttime, rtt, time_waited, tv = 0; local 552 tv = next_sendtime; 554 tv = timeout; 555 tv -= time_waited; 557 if (tv > 0) { 563 cu->cu_waitflag, cu->cu_waitchan, tv);
|
/freebsd-9.3-release/usr.bin/fetch/ |
H A D | fetch.c | 768 struct timeval tv[2]; local 771 tv[0].tv_sec = (long)(us.atime ? us.atime : us.mtime); 772 tv[1].tv_sec = (long)us.mtime; 773 tv[0].tv_usec = tv[1].tv_usec = 0; 774 if (utimes(tmppath ? tmppath : path, tv))
|
/freebsd-9.3-release/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 304 struct tv32 tv; /* time packet left */ member in struct:opacket 1044 struct timeval tv; local 1055 (void) gettimeofday(&tv, NULL); 1056 tv32.tv32_sec = htonl(tv.tv_sec); 1057 tv32.tv32_usec = htonl(tv.tv_usec); 1076 bcopy(&tv32, &op->tv, sizeof tv32);
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | tree-outof-ssa.c | 1139 type_var_p tv; local 1210 tv = type_var_init (map); 1212 type_var_dump (dump_file, tv); 1213 type_var_compact (tv); 1215 type_var_dump (dump_file, tv); 1217 graph = build_tree_conflict_graph (liveinfo, tv, cl); 1219 type_var_decompact (tv); 1223 type_var_dump (dump_file, tv); 1236 coalesce_tpa_members (tv, graph, map, cl, 1239 type_var_delete (tv); [all...] |
/freebsd-9.3-release/sys/net/ |
H A D | bpf.c | 1442 struct timeval *tv = (struct timeval *)addr; local 1449 tv = &tv64; 1450 tv->tv_sec = tv32->tv_sec; 1451 tv->tv_usec = tv32->tv_usec; 1454 tv = (struct timeval *)addr; 1460 if ((error = itimerfix(tv)) == 0) 1461 d->bd_rtout = tvtohz(tv) - 1; 1473 struct timeval *tv; local 1479 tv = &tv64; 1482 tv [all...] |
/freebsd-9.3-release/sbin/ping6/ |
H A D | ping6.c | 304 struct timeval timeout, *tv; local 1117 tv = &timeout; 1123 tv = NULL; 1133 cc = select(s + 1, fdmaskp, NULL, NULL, tv); 1368 struct timeval tv; local 1370 (void)gettimeofday(&tv, NULL); 1372 tv32->tv32_sec = htonl(tv.tv_sec); 1373 tv32->tv32_usec = htonl(tv.tv_usec); 1504 struct timeval tv, tp; local 1513 (void)gettimeofday(&tv, NUL [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | scp.c | 918 struct timeval tv[2]; local 920 #define atime tv[0] 921 #define mtime tv[1] 1074 if (utimes(vect[0], tv) < 0) 1175 if (utimes(np, tv) < 0) {
|
/freebsd-9.3-release/usr.bin/csup/ |
H A D | fattr.c | 804 struct timeval tv[2]; local 871 gettimeofday(tv, NULL); /* Access time. */ 872 tv[1].tv_sec = fa->modtime; /* Modification time. */ 873 tv[1].tv_usec = 0; 874 error = utimes(frompath, tv);
|
/freebsd-9.3-release/usr.sbin/faithd/ |
H A D | ftp.c | 86 struct timeval tv; local 160 tv.tv_sec = FAITH_TIMEOUT; 161 tv.tv_usec = 0; 164 error = poll(pfd, sizeof(pfd)/sizeof(pfd[0]), tv.tv_sec * 1000); 166 error = select(maxfd + 1, &readfds, NULL, NULL, &tv);
|