/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 1148 struct timespec ts; local 1149 ts.tv_sec = delta / NANOSEC; 1150 ts.tv_nsec = delta % NANOSEC; 1151 (void) nanosleep(&ts, NULL);
|
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 1230 const char *ts; local 1234 if ((ts = smbios_type_name(t)) != NULL && strcmp(s, ts) == 0)
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 688 timespec_t ts; local 691 ts.tv_sec = (time_t)sec; 692 ts.tv_nsec = 0; 693 if (nanosleep(&ts, &tsr) == -1 && errno == EINTR) { 704 timespec_t ts; local 706 ts.tv_sec = usec / MICROSEC; 707 ts.tv_nsec = (long)(usec % MICROSEC) * 1000; 708 (void) nanosleep(&ts, NULL);
|
H A D | synch.c | 2126 timespec_t ts = *tsp; local 2129 while (__nanosleep(&ts, &rts) == EINTR) 2130 ts = rts; 2759 sig_cond_reltimedwait(cond_t *cv, mutex_t *mp, const timespec_t *ts) argument 2765 error = __cond_reltimedwait(cv, mp, ts);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 1728 hrtime_t ts; local 1752 ts = lbi.lbi_debug_ts; 1762 ts = lbi.lbi_debug_ts; 1764 ts = gethrtime(); 1767 return (ts); 1782 hrtime_t ts; local 1792 if ((ts = mdb_gethrtime()) <= 0) 1810 return ((ts/nsec) - lbi.lbi_debug_time);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/ |
H A D | ud_lib.c | 1484 print_tstamp(FILE *fout, char *name, tstamp_t *ts) argument 1488 SWAP_16(ts->ts_tzone), SWAP_16(ts->ts_year), ts->ts_month, 1489 ts->ts_day, ts->ts_hour, ts->ts_min, ts->ts_sec, ts->ts_csec, 1490 ts [all...] |
/illumos-gate/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 2893 struct timespec ts = {0}; local 2899 ts.tv_nsec = DELAYED_EXEC_WAIT_INTERVAL; 2927 (void) nanosleep(&ts, NULL); 3030 struct timespec ts = {0}; local 3036 ts.tv_nsec = DELAYED_EXEC_WAIT_INTERVAL; 3065 (void) nanosleep(&ts, NULL);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | libscf.c | 3133 * older than the supplied ts. 3139 admin_action_t a, hrtime_t ts) 3235 rep_ts = ts; 3248 /* Repository ts is more current. Don't clear the action. */ 3249 if (rep_ts > ts) 3138 libscf_unset_action(scf_handle_t *h, scf_propertygroup_t *pg, admin_action_t a, hrtime_t ts) argument
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 4280 int ts; /* a unique timestamp */ member in struct:rfs3_verf_overlay 4312 verfp->ts = (int)now.tv_sec;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb.c | 1851 struct timespec ts; local 1857 gethrestime(&ts); 2073 struct timespec ts; local 2079 gethrestime(&ts);
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 1052 timestruc_t ts; local 1055 gethrestime(&ts); 1056 sec = ts.tv_sec;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 2382 timestruc_t ts; local 2387 gethrestime(&ts); 2389 nsec = ts.tv_nsec; 2401 tvp->tv_sec = ts.tv_sec;
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 650 const struct ath_tx_status *ts = &bf->bf_status.ds_txstat; local 658 !done ? ' ' : (ts->ts_status == 0) ? '*' : '!')); 1104 struct ath_tx_status *ts; local 1117 ts = &bf->bf_status.ds_txstat; 1118 status = ATH_HAL_TXPROCDESC(ah, ds, ts); 1132 if (ts->ts_status == 0) { 1134 an->an_tx_antenna = ts->ts_antenna; 1135 if (ts->ts_rate & HAL_TXSTAT_ALTRATE) 1138 ts->ts_rssi - asc->asc_stats.ast_tx_rssi; 1139 asc->asc_stats.ast_tx_rssi = ts [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock.c | 1850 timestruc_t ts; local 1855 ts = tod_get(); 1857 if (ts.tv_sec > 365 * SECONDS_PER_DAY) { 1865 if (approx != -1 && approx > ts.tv_sec) { 1879 ts.tv_sec = (approx > diagnose_date ? approx : diagnose_date); 1880 ts.tv_nsec = 0; 1887 tod_set(ts); 1891 if (tmp.tv_sec != ts.tv_sec && tmp.tv_sec != ts.tv_sec + 1) { 1903 boot_time = ts 1916 set_hrestime(timestruc_t *ts) argument 2138 tod_set_prev(timestruc_t ts) argument 2442 hrtime_t ts, exp; local 2476 hrtime_t ts; local 2652 hrtime_t ts; local [all...] |
H A D | contract.c | 2294 timespec_t ts; local 2318 gethrestime(&ts); 2340 cte_publish(&ct->ct_events, e, &ts, B_FALSE); 2347 cte_publish(&ct->ct_type->ct_type_events, e, &ts, B_FALSE); 2371 cte_publish(q, e, &ts, B_TRUE);
|
/illumos-gate/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_pm.c | 1457 hrtime_t ts) 1463 } else if (sp->next_ts <= ts) { 1497 sp->next_ts = ts + fipe_idle_ctrl.tick_interval; 1523 sp->throttle_ts = ts + FIPE_PROF_INTR_BUSY_THROTTLE * 1547 hrtime_t ts; local 1554 ts = cpu_idle_prop_get_hrtime(fipe_idle_ctrl.prop_enter, ctx); 1558 sp->state_ready && sp->throttle_ts <= ts) { 1568 if (fipe_check_cpu(sp, ctx, ts)) { 1581 fipe_gbl_ctrl.enter_ts = ts; 1599 sp->next_ts = ts 1456 fipe_check_cpu(struct fipe_cpu_state *sp, cpu_idle_callback_context_t ctx, hrtime_t ts) argument 1615 hrtime_t ts; local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 2119 int ts; local 3414 ts = 0; 3417 ts = OPT_USAGE + m; 3439 if ((rm = margin - ts) < OPT_MARGIN) 3458 ts = ip->stop; 3517 ts = ip->stop; 3518 if (co >= ts) 3523 ts = ip->stop; 3526 while (co < ts) 3667 for (co = 0; co < ts; c [all...] |
/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_async.c | 1727 timespec_t ts; local 1731 gethrestime(&ts); 1733 nsec = ts.tv_nsec; 1745 tvp->tv_sec = ts.tv_sec;
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | su_driver.c | 1939 timestruc_t ts; local 1943 gethrestime(&ts); 1944 nsec = ts.tv_nsec; 1956 tvp->tv_sec = ts.tv_sec;
|
H A D | trapstat.c | 756 hrtime_t ts, best = INT64_MAX; local 759 ts = rdtick(); 764 if ((ts = rdtick() - ts) < best) 765 best = ts; 766 buf[j++] = ts;
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 794 struct itimerspec ts; local 824 ts.it_value.tv_sec = val / NANOSEC; 825 ts.it_value.tv_nsec = val % NANOSEC; 826 ts.it_interval = ts.it_value; 828 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1)
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcmod.c | 472 struct temp_slot ts, *t; local 486 t = &ts;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | poll.c | 658 timespec_t ts; local 669 if (copyin(timeoutp, &ts, sizeof (ts))) 676 TIMESPEC32_TO_TIMESPEC(&ts, &ts32) 679 if (itimerspecfix(&ts)) 681 tsp = &ts;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_share.c | 236 smb_transient_t *ts; local 248 ts = &tshare[i]; 250 if (ts->check && smb_shr_is_empty(ts->path)) 253 nerr = smb_shr_add_transient(ts->name, ts->cmnt, ts->path); 893 smb_transient_t *ts; local 900 ts = &tshare[i]; 902 if (ts [all...] |
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 1128 hrtime_t ts; local 1129 sysevent_get_time(ev, &ts); 1130 (void) snprintf(num, sizeof (num), "0x%llx", ts); 2021 hrtime_t ts; local 2052 sysevent_get_time(ev, &ts); 2054 if (seq > ev_seq || ts > ev_ts) { 2057 (((seq < ev_seq) || (seq == 0 && ts > ev_ts)) || 2061 "expected %lld/0x%llx\n", seq, ts, ev_seq+1, ev_ts); 2065 ev_ts = ts;
|