Home
last modified time | relevance | path

Searched refs:tv (Results 76 – 100 of 186) sorted by relevance

12345678

/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Darc4random.c92 struct timeval tv; member
96 (void) gettimeofday(&rdat.tv, NULL);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c589 struct timeval tv; local
611 tv.tv_sec = left;
612 tv.tv_usec = 0;
646 &tv);
662 &tv);
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c1557 struct timeval tv; in adutils_lookup_batch_end() local
1559 tv.tv_sec = ADUTILS_SEARCH_TIMEOUT; in adutils_lookup_batch_end()
1560 tv.tv_usec = 0; in adutils_lookup_batch_end()
1565 &tv)) != 0) in adutils_lookup_batch_end()
1590 struct timeval tv; in adutils_lookup_batch_add() local
1617 tv.tv_sec = ADUTILS_SEARCH_TIMEOUT; in adutils_lookup_batch_add()
1618 tv.tv_usec = 0; in adutils_lookup_batch_add()
1621 if (get_adobject_batch(state->qadh, &tv) != 0) in adutils_lookup_batch_add()
1668 (void) memset(&tv, 0, sizeof (tv)); in adutils_lookup_batch_add()
1669 while (get_adobject_batch(state->qadh, &tv) == 0) in adutils_lookup_batch_add()
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c272 struct timeval tv; /* Timeout for our rpcb call */ local
293 tv.tv_sec = 10;
294 tv.tv_usec = 0;
301 xdr_wrapstring, (char *)&ua, tv);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c505 struct timeval tv[2]; in dodcolon() local
531 (void) gettimeofday(&tv[0], (struct timezone *)NULL); in dodcolon()
532 tv[1] = tv[0]; in dodcolon()
533 (void) utimes(stamp, tv); in dodcolon()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dadspriv_impl.c118 timespec_t tv = { 15, 0 }; in adspriv_getdcname_1_svc() local
130 &_idmapdstate.addisc_lk, &tv); in adspriv_getdcname_1_svc()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c273 struct timeval tv, *tvp; local
335 tv = *timeout;
336 tvp = &tv;
339 tv_time = ((hrtime_t)tv.tv_sec * NANOSEC +
340 (hrtime_t)tv.tv_usec * (NANOSEC / MICROSEC));
465 if (( tv.tv_sec -= ( tmp_time - start_time )) <= 0 ) {
474 tv.tv_sec = tv_time / NANOSEC;
475 tv.tv_usec = (tv_time % NANOSEC) / (NANOSEC / MICROSEC);
478 tv.tv_sec, 0, 0 );
H A Dos-ip.c1151 nsldapi_tv2ms( struct timeval *tv ) argument
1153 if ( tv == NULL ) {
1157 return( tv->tv_sec * 1000 + tv->tv_usec / 1000 );
1542 struct timeval tv, *tvp; local
1581 tv.tv_sec = timeout / 1000;
1582 tv.tv_usec = 1000 * ( timeout - tv.tv_sec * 1000 );
1583 tvp = &tv;
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c491 msincr(struct timeval *tv, uint_t msec) in msincr() argument
493 tv->tv_sec += msec / MILLISEC; in msincr()
494 tv->tv_usec += (msec % MILLISEC) * MILLISEC; in msincr()
495 if (tv->tv_usec > MICROSEC) { in msincr()
496 tv->tv_sec++; in msincr()
497 tv->tv_usec -= MICROSEC; in msincr()
/illumos-gate/usr/src/uts/common/io/
H A Dsundlpi.c356 timestruc_t tv; in dl_phys_addr() local
369 tv.tv_sec = 15; in dl_phys_addr()
370 tv.tv_nsec = 0; in dl_phys_addr()
373 &tv); in dl_phys_addr()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c641 struct timeval tv; in whoami() local
695 tv.tv_sec = DEFAULT_TIMEO; in whoami()
696 tv.tv_usec = 0; in whoami()
718 tv, &bootparam_addr); in whoami()
730 tv.tv_usec = 0; in whoami()
1774 tv = give_up; in revarpinput()
1776 timespecsub(&tv, &now); in revarpinput()
1782 if (tv.tv_sec <= 0) in revarpinput()
2165 struct timeval tv; in mycallrpc() local
2175 tv.tv_sec = timeo; in mycallrpc()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c922 struct timeval tv; in nap() local
926 tv.tv_sec = n/60; in nap()
927 tv.tv_usec = ((n%60)*1000000L)/60; in nap()
928 (void) select(32, 0, 0, 0, &tv); in nap()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c736 struct timeval tv; in pselect() local
751 tv = evTimeVal(*tsp); in pselect()
753 polltimeout = 1000 * tv.tv_sec + tv.tv_usec / 1000; in pselect()
755 tvp = &tv; in pselect()
804 *tsp = evTimeSpec(tv); in pselect()
H A Dlogging.c273 struct timeval tv; in log_vwrite() local
307 if (gettimeofday(&tv, NULL) < 0) { in log_vwrite()
310 tt = tv.tv_sec; in log_vwrite()
321 (long)tv.tv_usec/1000); in log_vwrite()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtail.c439 Tv_t tv; in b_tail() local
650 tv.tv_sec = 1; in b_tail()
651 tv.tv_nsec = 0; in b_tail()
656 else if (sh_checksig(context) || tvsleep(&tv, NiL) && sh_checksig(context)) in b_tail()
709 tvsleep(&tv, NiL); in b_tail()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c320 struct timeval tv; local
388 gettimeofday(&tv, NULL);
389 gqr.gqrslt.rq_btimeleft = dqblk.dqb_btimelimit - tv.tv_sec;
390 gqr.gqrslt.rq_ftimeleft = dqblk.dqb_ftimelimit - tv.tv_sec;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.h76 struct timeval tv; /* time packet left */ member
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnbns_rq.c482 struct timeval tv; in nbns_rq_recv() local
492 tv.tv_sec = rqp->nr_nbd->nb_timo; in nbns_rq_recv()
493 tv.tv_usec = 0; in nbns_rq_recv()
495 n = select(s + 1, &rd, &wr, &ex, &tv); in nbns_rq_recv()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_io.c204 } tv; in au_save_time() local
218 tv.sec = (uint32_t)time->tv_sec; in au_save_time()
219 tv.usec = (uint32_t)time->tv_nsec; in au_save_time()
220 adr_int32(hadrp, (int32_t *)&tv, 2); in au_save_time()
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c82 struct timeval tv; in _nss_mdns_queryrecord() local
101 tv.tv_sec = NSSMDNS_MAXQRYTMO; in _nss_mdns_queryrecord()
102 tv.tv_usec = 0; in _nss_mdns_queryrecord()
105 ret = select(sockfd + 1, &readfds, NULL, NULL, &tv); in _nss_mdns_queryrecord()
/illumos-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c403 struct timeval tv; /* time now */ in write_file_token() local
408 (void) gettimeofday(&tv, (struct timezone *)0); in write_file_token()
414 adr_int64(&adr, (int64_t *)& tv, 2); in write_file_token()
418 adr_int32(&adr, (int32_t *)& tv, 2); in write_file_token()
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1570 struct timeval tv; in write_DOS_label() local
1584 (void) gettimeofday(&tv, (struct timezone *)0); in write_DOS_label()
1585 tp = localtime(&tv.tv_sec); in write_DOS_label()
1703 struct timeval tv; in write_NEC_DOS_label() local
1717 (void) gettimeofday(&tv, (struct timezone *)0); in write_NEC_DOS_label()
1718 tp = localtime(&tv.tv_sec); in write_NEC_DOS_label()
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile33 tm.c ts.c tt.c tu.c tv.c
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c787 struct timeval tv; in _unix_crypt_gensalt() local
789 (void) gettimeofday(&tv, (void *) 0); in _unix_crypt_gensalt()
790 srand48(tv.tv_sec ^ tv.tv_usec); in _unix_crypt_gensalt()
/illumos-gate/usr/src/uts/common/sys/
H A Dtermios.h374 struct timeval tv; member
380 struct timeval32 tv; member

12345678