/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxscan.c | 185 Tm_t ts; local 194 tm = tmxtm(&ts, t, NiL);
|
H A D | tmxdate.c | 186 Tm_t ts; local 209 tm = tmxtm(&ts, now, NiL);
|
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/ |
H A D | todds1307.c | 373 timestruc_t ts; local 406 ts.tv_sec = tod_to_utc(tod); 407 ts.tv_nsec = 0; 408 return (ts); 418 todds1307_set(timestruc_t ts) argument 421 todinfo_t tod = utc_to_tod(ts.tv_sec); 450 todds1307_set_power_alarm(timestruc_t ts) argument
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | cbe.c | 49 hrtime2tick(hrtime_t ts) argument 51 hrtime_t q = ts / NANOSEC; 52 hrtime_t r = ts - (q * NANOSEC); 58 unscalehrtime(hrtime_t ts) argument 62 hrtime_t diff = ts; 68 diff = ts - rescale;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todds1337.c | 395 timestruc_t ts; local 428 ts.tv_sec = tod_to_utc(tod); 429 ts.tv_nsec = 0; 430 return (ts); 440 todds1337_set(timestruc_t ts) argument 443 todinfo_t tod = utc_to_tod(ts.tv_sec); 476 todds1337_set_power_alarm(timestruc_t ts) argument 496 tod = utc_to_tod(ts.tv_sec);
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 176 timestruc_t ts; local 178 gethrestime(&ts); 179 tod_set(ts);
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 264 prtime(char *name, timestruc_t *ts) argument 268 hr_min_sec(buf, ts->tv_sec); 271 name, buf, (uint_t)ts->tv_nsec);
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 91 const struct timespec *_RESTRICT_KYWD ts) 95 ret = pthread_cond_timedwait(cnd, mtx, ts); 90 cnd_timedwait(cnd_t *_RESTRICT_KYWD cnd, mtx_t *_RESTRICT_KYWD mtx, const struct timespec *_RESTRICT_KYWD ts) argument
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | c11_threads.c | 204 struct timespec ts; local 208 ts.tv_sec = 1; 209 ts.tv_nsec = -1; 211 VERIFY3S(thrd_sleep(&ts, NULL), <, -1); 213 ts.tv_sec = 0; 214 ts.tv_nsec = stime; 216 VERIFY3S(thrd_sleep(&ts, NULL), ==, 0); 305 struct timespec ts; local 307 ts.tv_sec = 0; 308 ts 324 struct timespec ts; local 339 struct timespec ts; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libpython/ |
H A D | libpython.c | 253 python_stack(uintptr_t addr, const PyThreadState *ts, uint_t *verbose) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dtrace_subr.c | 296 hrtime_t ts; local 306 ts = dtrace_gethrtime(); 309 curthread->t_dtrace_vtime += ts - curthread->t_dtrace_start; 313 next->t_dtrace_start = ts;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gic_pwd.c | 465 char ts[256]; local 471 ts, sizeof(ts)))) 479 "hour on %s", ts); 483 delta / 3600, delta < 7200 ? "" : "s", ts); 487 delta / 86400, ts);
|
H A D | gc_frm_kdc.c | 57 #define NXT_TGT_IS_CACHED(ts) \ 58 ((ts)->nxt_tgt == (ts)->cur_cc_tgt) 60 #define MARK_CUR_CC_TGT_CLEAN(ts) \ 62 (ts)->cc_tgts.dirty[(ts)->cc_tgts.cur] = 0; \ 106 #define TR_DBG(ts, prog) tr_dbg(ts, prog) 107 #define TR_DBG_RET(ts, prog, ret) tr_dbg_ret(ts, pro 190 init_cc_tgts(struct tr_state *ts) argument 207 shift_cc_tgts(struct tr_state *ts) argument 233 clean_cc_tgts(struct tr_state *ts) argument 252 tr_dbg(struct tr_state *ts, const char *prog) argument 277 tr_dbg_ret(struct tr_state *ts, const char *prog, krb5_error_code ret) argument 284 tr_dbg_rtree(struct tr_state *ts, const char *prog, krb5_principal princ) argument 338 init_rtree(struct tr_state *ts, krb5_principal client, krb5_principal server) argument 370 retr_local_tgt(struct tr_state *ts, krb5_principal client) argument 399 try_ccache(struct tr_state *ts, krb5_creds *tgtq) argument 457 find_nxt_kdc(struct tr_state *ts) argument 532 try_kdc(struct tr_state *ts, krb5_creds *tgtq) argument 597 kdc_mcred(struct tr_state *ts, krb5_principal client, krb5_creds *mcreds) argument 630 next_closest_tgt(struct tr_state *ts, krb5_principal client) argument 775 struct tr_state state, *ts; local [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPReg.c | 198 time_t ts; local 203 ts = tp->tv_sec + lifetime; 272 err = slp_sign(&((*msg)->urlbytes), 1, ts, 299 err = slp_sign(&((*msg)->attrbytes), 1, ts,
|
H A D | slp_auth.c | 131 * for the auth block is given in ts. Caller must free the auth block 136 SLPError slp_sign(struct iovec *authiov, int authiov_len, time_t ts, argument 192 err = make_authblock(authiov, authiov_len, alias, ts,
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 186 int error, ts; local 189 ts = M_TRAILINGSPACE(mp); 190 if (len <= ts) 192 len -= ts; 347 int ts = M_TRAILINGSPACE(cm); local 349 if (m->m_next == NULL && m->m_len <= ts) {
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 150 struct timespec ts; local 152 ts.tv_sec = tv.tv_sec; 153 ts.tv_nsec = tv.tv_usec * 1000; 154 return (ts); 158 evTimeVal(struct timespec ts) { argument 161 tv.tv_sec = ts.tv_sec; 162 tv.tv_usec = ts.tv_nsec / 1000;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
H A D | sppp.c | 586 tun_state_read(void *ptr, union tun_state *ts) argument 592 if (mdb_vread(&ts->tunflags, sizeof (ts->tunflags), (uintptr_t)ptr) == 593 sizeof (ts->tunflags)) { 594 if (ts->tunflags & TCLF_ISCLIENT) { 595 if (mdb_vread(&ts->tcl, sizeof (ts->tcl), 596 (uintptr_t)ptr) == sizeof (ts->tcl)) { 600 if (mdb_vread(&ts->tll, sizeof (ts 612 union tun_state ts; local 627 union tun_state ts; local 643 union tun_state ts; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 137 struct tstamps *ts, *prev_ts; local 249 ts = (struct tstamps *) 250 malloc(sizeof (*ts)); 251 if (ts == NULL) { 256 (void) memset(ts, 0, sizeof (*ts)); 257 ts->ts_penalty = mfs->mfs_penalty; 259 a->addr_if_tstamps = ts; 261 prev_ts->ts_next = ts; 262 prev_ts = ts; 674 struct tstamps *ts, *tmpts = NULL; local [all...] |
/illumos-gate/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 71 " self->ts = vtimestamp;" 75 "/self->ts/" 81 " this->devi->devi_instance] = sum(vtimestamp - self->ts);" 82 " self->ts = 0;" 361 struct itimerspec ts; local 544 ts.it_value.tv_sec = g_sleeptime; 545 ts.it_value.tv_nsec = 0; 546 ts.it_interval.tv_sec = g_sleeptime; 547 ts.it_interval.tv_nsec = 0; 549 if (timer_settime(tid, TIMER_RELTIME, &ts, NUL [all...] |
/illumos-gate/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 86 dummy_todm5823_set_power_alarm(timestruc_t ts) argument
|
/illumos-gate/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 87 dummy_todm5823_set_power_alarm(timestruc_t ts) argument
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 528 time_t ts; local 530 ts = time(NULL); 531 if (prev_ts != ts) { 532 prev_ts = ts; 535 ctime_r(&ts, cbuf, sizeof (cbuf)));
|
/illumos-gate/usr/src/common/crypto/skein/ |
H A D | skein_block.c | 28 #define ts (kw + KW_TWK_BASE) macro 73 ts[0] = ctx->h.T[0]; 74 ts[1] = ctx->h.T[1]; 80 ts[0] += byteCntAdd; /* update processed length */ 89 ts[2] = ts[0] ^ ts[1]; 94 Skein_Show_Block(BLK_BITS, &ctx->h, ctx->X, blkPtr, w, ks, ts); 97 X1 = w[1] + ks[1] + ts[0]; 98 X2 = w[2] + ks[2] + ts[ [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | timestamp.c | 807 timestruc_t ts; local 816 ts = TODOP_GET(tod_ops); 820 sleep_sec = ts.tv_sec - tsc_saved_ts.tv_sec; 824 * the current ts, then there is likely a
|