Home
last modified time | relevance | path

Searched refs:tv (Results 101 – 125 of 186) sorted by relevance

12345678

/illumos-gate/usr/src/boot/include/net/
H A Dif.h109 struct timeval tv; member
115 #define ifi_lastchange __ifi_lastchange.tv
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c317 timespec_t tv; in do_deferred_work() local
416 gethrestime(&tv); in do_deferred_work()
417 if (tv.tv_sec == RSM_UNKNOWN_INCN) in do_deferred_work()
418 tv.tv_sec = 1; in do_deferred_work()
419 path->local_incn = (int64_t)tv.tv_sec; in do_deferred_work()
1407 timespec_t tv; in rsmka_do_path_active() local
1496 gethrestime(&tv); in rsmka_do_path_active()
1497 if (tv.tv_sec == RSM_UNKNOWN_INCN) in rsmka_do_path_active()
1498 tv.tv_sec = 1; in rsmka_do_path_active()
1499 path->local_incn = (int64_t)tv.tv_sec; in rsmka_do_path_active()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_standalone.c844 struct timeval tv = {NS_DEFAULT_SEARCH_TIMEOUT, 0}; in getDirBaseDN() local
855 attrs, 0, NULL, NULL, &tv, 0, &resultMsg); in getDirBaseDN()
913 &tv, in getDirBaseDN()
977 struct timeval tv = {NS_DEFAULT_SEARCH_TIMEOUT, 0}; in getDUAProfile() local
996 &tv, in getDUAProfile()
1307 struct timeval tv = {NS_DEFAULT_SEARCH_TIMEOUT, 0}; in __ns_ldap_getRootDSE() local
1409 tv.tv_sec = **((int **)paramVal); in __ns_ldap_getRootDSE()
1428 &tv, in __ns_ldap_getRootDSE()
H A Dns_connect.c2345 struct timeval tv; in doSimpleBind() local
2377 tv.tv_sec = timeoutSec; in doSimpleBind()
2378 tv.tv_usec = 0; in doSimpleBind()
2379 ldap_rc = ldap_result(ld, msgId, 0, &tv, &resultMsg); in doSimpleBind()
2443 struct timeval tv; in doSASLBind() local
2519 tv.tv_sec = timeoutSec; in doSASLBind()
2520 tv.tv_usec = 0; in doSASLBind()
2523 &tv, &resultMsg); in doSASLBind()
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c84 struct timeval tv; in au_to_header() local
106 adr_int64(&adr, (int64_t *)&tv, 2); /* time & date */ in au_to_header()
108 adr_int32(&adr, (int32_t *)&tv, 2); /* time & date */ in au_to_header()
125 struct timeval tv; in au_to_header_ex() local
168 adr_int64(&adr, (int64_t *)&tv, 2); /* time & date */ in au_to_header_ex()
170 adr_int32(&adr, (int32_t *)&tv, 2); /* time & date */ in au_to_header_ex()
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c1129 struct timeval tv; in pcp_get_xid() local
1142 (void) gettimeofday(&tv, NULL); in pcp_get_xid()
1143 msg_xid = (uint32_t)((tv.tv_sec << 20) | in pcp_get_xid()
1144 (tv.tv_usec >> 10)); in pcp_get_xid()
/illumos-gate/usr/src/cmd/bnu/
H A Dconn.c1244 struct timeval tv; local
1248 tv.tv_sec = n/60;
1249 tv.tv_usec = ((n%60)*1000000L)/60;
1250 (void) select(32, 0, 0, 0, &tv);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_clientstub.c317 struct timeval tv = { 0, 0 }; in more_bytes() local
326 ret = select((int)sd+1, fs, (fd_set*)NULL, (fd_set*)NULL, &tv); in more_bytes()
350 ret = select((int)sd+1, fs, (fd_set*)NULL, (fd_set*)NULL, &tv); in more_bytes()
374 struct timeval tv; in set_waitlimit() local
379 tv.tv_sec = timeout; in set_waitlimit()
380 tv.tv_usec = 0; in set_waitlimit()
381 if (!select((int)(sock + 1), &set, NULL, NULL, &tv)) in set_waitlimit()
415 struct timeval tv; in create_hdr()
416 if (gettimeofday(&tv, NULL) < 0) in create_hdr()
419 (unsigned long)(tv.tv_sec & 0xFFF), (unsigned long)(tv.tv_usec)); in create_hdr()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c1630 struct timeval tv; in sprint_stime() local
1639 SCF_PROPERTY_STATE_TIMESTAMP, &tv, 0); in sprint_stime()
1642 SCF_TYPE_TIME, &tv, 0, 0); in sprint_stime()
1654 then = (time_t)tv.tv_sec; in sprint_stime()
1686 struct timeval tv; in sortkey_stime() local
1694 SCF_TYPE_TIME, &tv, 0, 0); in sortkey_stime()
1701 sec = tv.tv_sec; in sortkey_stime()
1702 us = tv.tv_usec; in sortkey_stime()
2420 struct timeval tv; in print_detailed() local
2523 SCF_TYPE_TIME, &tv, 0, 0) == 0) { in print_detailed()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_net.c1137 struct timeval tv[1]; in now_millis() local
1139 (void) gettimeofday(tv, NULL); in now_millis()
1140 i = (unsigned long long) tv->tv_sec * 1000; in now_millis()
1141 i += tv->tv_usec / 1000; in now_millis()
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c579 printtime(tv) in printtime() argument
580 time_t tv; in printtime()
586 if (!krb5_timestamp_to_sfstring((krb5_timestamp) tv, timestring,
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1123 struct timeval tv, *tvp; in pselect() local
1128 tvp = &tv; in pselect()
1129 tv = evTimeVal(*tsp); in pselect()
1138 *tsp = evTimeSpec(tv); in pselect()
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h445 int itimerfix(struct timeval *tv);
450 int tvtohz(struct timeval *tv);
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_val.c2402 __nis_value_t *val, **tv; in getMappingElement() local
2412 tv = am(myself, e->element.print.numSubElements * in getMappingElement()
2413 sizeof (tv[0])); in getMappingElement()
2417 (tv == 0 || np_ldap_stat == 0)) { in getMappingElement()
2419 sfree(tv); in getMappingElement()
2425 tv[i] = getMappingSubElement( in getMappingElement()
2450 tv); in getMappingElement()
2452 freeValue(tv[i], 1); in getMappingElement()
2454 sfree(tv); in getMappingElement()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c583 struct timeval tv; in hs_mountfs() local
712 uniqtime(&tv); in hs_mountfs()
713 fsid = tv.tv_sec; in hs_mountfs()
717 uniqtime(&tv); in hs_mountfs()
718 fsid = tv.tv_sec; in hs_mountfs()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c127 struct timeval *tv; in krb5int_debug_fprint() local
213 tv = va_arg(args, struct timeval *); in krb5int_debug_fprint()
214 if (tv) { in krb5int_debug_fprint()
216 (long) tv->tv_sec, (long) tv->tv_usec); in krb5int_debug_fprint()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c130 struct timeval tv; in digest_nonce() local
134 gettimeofday(&tv, NULL); in digest_nonce()
135 r ^= tv.tv_usec; in digest_nonce()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc_adm.c727 timespec_t tv; in fmd_adm_logrotate_1_svc() local
754 tv.tv_sec = nsec / NANOSEC; in fmd_adm_logrotate_1_svc()
755 tv.tv_nsec = nsec % NANOSEC; in fmd_adm_logrotate_1_svc()
764 (void) nanosleep(&tv, NULL); /* wait for checkpoints */ in fmd_adm_logrotate_1_svc()
H A Dfmd_asru.c719 struct timeval tv; in fmd_asru_repair_if_aged() local
743 fmd_time_gettimeofday(&tv); in fmd_asru_repair_if_aged()
748 hrt = (hrtime_t)(tv.tv_sec - lp->log_stat.st_mtime); in fmd_asru_repair_if_aged()
763 struct timeval tv; in fmd_asru_check_if_aged() local
772 fmd_time_gettimeofday(&tv); in fmd_asru_check_if_aged()
776 hrt = (hrtime_t)(tv.tv_sec - lp->log_stat.st_mtime); in fmd_asru_check_if_aged()
/illumos-gate/usr/src/contrib/mDNSResponder/Clients/
H A Ddns-sd.c496 struct timeval tv; in printtimestamp_F() local
497 gettimeofday(&tv, NULL); in printtimestamp_F()
498 localtime_r((time_t*)&tv.tv_sec, &tm); in printtimestamp_F()
499 ms = tv.tv_usec/1000; in printtimestamp_F()
1308 struct timeval tv;
1325 tv.tv_sec = timeOut;
1326 tv.tv_usec = 0;
1328 result = select(nfds, &readfds, (fd_set*)NULL, (fd_set*)NULL, &tv);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1399 struct timeval tv; in catfile() local
1406 timerclear(&tv); in catfile()
1407 tv.tv_sec = FIFOREADTIMEOUT; in catfile()
1411 &exceptfds, &tv) != -1) { in catfile()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1039 struct timeval tv; local
1048 (void) gettimeofday(&tv, NULL);
1049 (void) ctime_r(&tv.tv_sec, buffer, BUFSIZ);
1051 tv.tv_usec/100);
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c445 struct timeval tv; local
450 (void) gettimeofday(&tv, (struct timezone *)NULL);
452 seed ^= (tv.tv_usec << shift) | (tv.tv_usec >> (32 - shift));
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.c664 struct timeval tv; in mDNSPlatformTCPWritable() local
672 tv.tv_sec = tv.tv_usec = 0; in mDNSPlatformTCPWritable()
673 count = select(nfds, NULL, &w, NULL, &tv); in mDNSPlatformTCPWritable()
1870 struct timeval tv; in mDNSPlatformRandomSeed() local
1871 gettimeofday(&tv, NULL); in mDNSPlatformRandomSeed()
1872 return(tv.tv_usec); in mDNSPlatformRandomSeed()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtmx13 #include <tv.h>

12345678