/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | xpvtod.c | 64 wcts.tv_sec = si->wc_sec; 76 (hrtime_t)wcts.tv_nsec + (hrtime_t)wcts.tv_sec * NANOSEC; 77 ts.tv_sec = (time_t)(now / NANOSEC); 83 ts.tv_sec += ggmtl(); 88 tod = utc_to_tod(ts.tv_sec); 111 ts.tv_sec = tod_to_utc(tod); 135 op.u.settime.secs = ts.tv_sec - ggmtl();
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 289 oldval.tv_sec = t1->tv_sec; 292 t1->tv_sec += t2; 295 if (!(t1->tv_sec >= oldval.tv_sec)) { 297 "Wrap when adding %d to %d", t2, oldval.tv_sec); 322 if (t1->tv_sec > t2->tv_sec) 325 if (t1->tv_sec == t2->tv_sec) { [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | usleep.c | 45 itp->it_value.tv_sec = n / USPS; 49 oitv.it_value.tv_sec -= itp->it_value.tv_sec; 53 oitv.it_value.tv_sec--; 57 oitv.it_value.tv_sec = 0;
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_stat.c | 72 cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; 109 cep->ce_sec.etime = tv.tv_sec; 280 cb_time = endp->tv_sec - startp->tv_sec; 283 startp->tv_sec = endp->tv_sec - cb_time; 286 min_promtime > (endp->tv_sec - shdnp->tv_sec - cb_time)) 287 min_promtime = endp->tv_sec - shdnp->tv_sec [all...] |
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_udp.c | 160 cu->cu_total.tv_sec = -1; 164 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec; 250 time_waited.tv_sec = 0; 279 if (timeout.tv_sec == 0 && timeout.tv_usec == 0) { 298 time_waited.tv_sec += retransmit_time.tv_sec; 301 time_waited.tv_sec++; 307 if (retransmit_time.tv_sec < RPC_MAX_BACKOFF) { 309 retransmit_time.tv_sec += retransmit_time.tv_sec; [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.time.c | 128 (r1->ru_utime.tv_sec - r0->ru_utime.tv_sec) * 100 + 130 (r1->ru_stime.tv_sec - r0->ru_stime.tv_sec) * 100 + 136 (e->tv_sec - b->tv_sec) * 100 + (e->tv_usec - b->tv_usec) / 10000; 231 printf("%d.%01d", td.tv_sec, td.tv_usec / 100000); 241 tsum->tv_sec += t0->tv_sec; 244 tsum->tv_sec [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_timer.c | 67 (lwptp->lwpt_rqtime.tv_sec > now.tv_sec || 68 (lwptp->lwpt_rqtime.tv_sec == now.tv_sec && 127 if (lwptp->lwpt_rqtime.tv_sec == 0 && lwptp->lwpt_rqtime.tv_nsec == 0) { 154 (lwptp->lwpt_rqtime.tv_sec > now.tv_sec || 155 (lwptp->lwpt_rqtime.tv_sec == now.tv_sec && 204 rmtime.tv_sec [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 68 x.tv_sec = sec; 77 x.tv_sec = addend1.tv_sec + addend2.tv_sec; 80 x.tv_sec++; 90 x.tv_sec = minuend.tv_sec - subtrahend.tv_sec; 95 x.tv_sec--; 102 long x = a.tv_sec [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todstarcat.c | 97 hrestime.tv_sec = (time_t)ssc_time32; 125 hrestime.tv_sec = (time_t)0; 200 if (abs(hrestime.tv_sec - ts.tv_sec) > TODSC_SET_THRESHOLD) { 205 (int)ts.tv_sec); 210 ts.tv_sec);
|
H A D | todopl.c | 158 hrestime.tv_sec = obp_time; 170 hrestime.tv_sec = (time_t)0; 233 if (abs(ts.tv_sec - hrestime.tv_sec) > TODOPL_SET_THRESHOLD) { 238 prom_opl_set_diff(ts.tv_sec - hrestime.tv_sec); 263 prom_opl_set_diff(ts.tv_sec - obp_time); 269 ts.tv_sec));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | timer.h | 126 #define timerspecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) 127 #define timerspeccmp(tvp, uvp) (((tvp)->tv_sec - (uvp)->tv_sec) ? \ 128 ((tvp)->tv_sec - (uvp)->tv_sec):((tvp)->tv_nsec - (uvp)->tv_nsec)) 129 #define timerspecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
|
H A D | types32.h | 71 time32_t tv_sec; /* seconds */ member in struct:timeval32 76 time32_t tv_sec; /* seconds */ member in struct:timespec32
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | main.c | 144 epoch.tv_sec -= EPOCH; 145 now.tv_sec = EPOCH; 149 select_timeout.tv_sec = 0; 344 srandom((int)(clk.tv_sec ^ clk.tv_usec ^ getpid())); 390 age_timer.tv_sec = EPOCH+MIN_WAITTIME; 430 if (prev_clk.tv_sec == clk.tv_sec && 447 if (result.tv_sec < 0 || result.tv_sec > 448 select_timeout.tv_sec [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.c | 58 ts.it_value.tv_sec = 1; 60 ts.it_interval.tv_sec = 0;
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_v2.x | 54 int tv_sec; /* seconds */
|
H A D | rup.c | 229 putline(sw_var.curtime.tv_sec, sw_var.boottime, 232 putline(st.curtime.tv_sec, st.boottime, st.avenrun); 237 entry[curentry].boottime.tv_sec = st.boottime.tv_sec; 240 entry[curentry].curtime = st.curtime.tv_sec; 243 entry[curentry].boottime.tv_sec = 244 sw_var.boottime.tv_sec; 247 entry[curentry].curtime = sw_var.curtime.tv_sec; 275 uptime = now - boottime.tv_sec; 378 putline(st->curtime.tv_sec, s [all...] |
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | touch.c | 59 av.tv_sec = at; 69 mv.tv_sec = mt;
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_synch.c | 89 new.it_interval.tv_sec = 0; 91 new.it_value.tv_sec = to / 1000; 108 new.it_interval.tv_sec = 0; 110 new.it_value.tv_sec = 0;
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_synch.c | 88 new.it_interval.tv_sec = 0; 90 new.it_value.tv_sec = to / 1000; 107 new.it_interval.tv_sec = 0; 109 new.it_value.tv_sec = 0;
|
/illumos-gate/usr/src/ucbcmd/rusage/ |
H A D | rusage.c | 49 tv->tv_sec, tv->tv_usec/10000, s); 108 after.tv_sec -= before.tv_sec; 111 after.tv_sec--;
|
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmttv.c | 38 s = fmttime(fmt, (time_t)tv->tv_sec);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_ldap.c | 119 if (rootDirExpire >= now.tv_sec) 147 srand48(now.tv_sec); 161 rootDirExpire = now.tv_sec + ttl;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | c_ustime.c | 75 tv.tv_sec = now.tv_sec; 82 n->sec = tv.tv_sec;
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxtouch.c | 56 av.tv_sec = tmxsec(at); 66 mv.tv_sec = tmxsec(mt); 76 cv.tv_sec = tmxsec(ct);
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | clock.c | 62 ts->tv_sec = clk / hz; 78 ts->tv_sec = tv.tv_sec;
|