Searched defs:ts (Results 176 - 200 of 200) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c2147 const struct ath_tx_status *ts = &ds->ds_txstat; local
2155 !done ? ' ' : (ts->ts_status == 0) ? '*' : '!'));
2192 struct ath_tx_status *ts; local
2208 ts = &ds->ds_txstat;
2225 if (ts->ts_status == 0) {
2227 an->an_tx_antenna = ts->ts_antenna;
2229 ts->ts_rssi - sc->sc_stats.ast_tx_rssi;
2230 sc->sc_stats.ast_tx_rssi = ts->ts_rssi;
2233 if (ts->ts_status & ATH9K_TXERR_XRETRY) {
2236 if (ts
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c2209 uint32_t ts, te; local
2236 ts = cl->cl_fmap[FD_NUMPART].fmap_start;
2237 te = ts + cl->cl_fmap[FD_NUMPART].fmap_nblk - 1;
2239 while ((i < epart) && ts && te) {
2240 if (start >= ts && start <= te) {
2244 if ((ts < poss_end) && (ts > start)) {
2245 poss_end = ts - 1;
2249 ts = cl->cl_fmap[i].fmap_start;
2250 te = ts
[all...]
H A Dbofi.c427 timestruc_t ts; local
429 gethrestime(&ts);
430 return (ts.tv_sec);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c1779 timespec_t ts; local
1790 ts.tv_sec = 0; /* give him a chance to run */
1791 ts.tv_nsec = 100000; /* 100 usecs or clock tick */
1792 (void) __nanosleep(&ts, NULL);
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c316 timestruc_t ts; local
324 ts.tv_sec = delta / hz;
325 ts.tv_nsec = (delta % hz) * (NANOSEC / hz);
329 error = cond_reltimedwait(cv, &mp->m_lock, &ts);
349 timestruc_t ts; local
362 ts.tv_sec = delta / NANOSEC;
363 ts.tv_nsec = delta % NANOSEC;
367 error = cond_reltimedwait(cv, &mp->m_lock, &ts);
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c816 zs_zone_cpu_cap_time(zs_zone_t *zone, timestruc_t *ts) argument
818 *ts = zone->zsz_cap_time;
822 zs_zone_cpu_share_time(zs_zone_t *zone, timestruc_t *ts) argument
824 *ts = zone->zsz_share_time;
828 zs_zone_cpu_cap_time_used(zs_zone_t *zone, timestruc_t *ts) argument
830 *ts = zone->zsz_cpu_usage;
834 zs_zone_cpu_share_time_used(zs_zone_t *zone, timestruc_t *ts) argument
836 *ts = zone->zsz_cpu_usage;
1015 zs_pset_usage_all(zs_pset_t *pset, timestruc_t *ts) argument
1021 *ts
1025 zs_pset_usage_idle(zs_pset_t *pset, timestruc_t *ts) argument
1037 zs_pset_usage_kernel(zs_pset_t *pset, timestruc_t *ts) argument
1043 zs_pset_usage_zones(zs_pset_t *pset, timestruc_t *ts) argument
1232 zs_cpu_total_time(zs_usage_t *usage, timestruc_t *ts) argument
1238 zs_cpu_usage_all(zs_usage_t *usage, timestruc_t *ts) argument
1250 zs_cpu_usage_idle(zs_usage_t *usage, timestruc_t *ts) argument
1290 zs_cpu_usage_kernel(zs_usage_t *usage, timestruc_t *ts) argument
1303 zs_cpu_usage_zones(zs_usage_t *usage, timestruc_t *ts) argument
1318 zs_cpu_usage_zone(zs_zone_t *zone, timestruc_t *ts) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h308 time_t ts; /* timestamp on network stats */ member in struct:physical_interface::phyi_data
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c1548 static hrtime_t ts; local
1551 if (ts == 0) {
1552 pass = (ts = gethrtime()) - tg_start;
1556 pass = now - ts;
1557 ts = now;
1563 "time elapsed, total", (ts - tg_start) / NANOSEC);
1567 ts = 0;
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c210 timespec_t *ts);
2858 iscsi_format_timestamp(char *ts_str, int strlen, timespec_t *ts) argument
2860 mdb_snprintf(ts_str, strlen, "%Y:%03d:%03d:%03d", ts->tv_sec,
2861 (ts->tv_nsec / 1000000) % 1000, (ts->tv_nsec / 1000) % 1000,
2862 ts->tv_nsec % 1000);
/illumos-gate/usr/src/cmd/svc/configd/
H A Dbackend.c122 #define UPDATE_TOTALS_WR(sb, writing, field, ts, vts) { \
125 __bsp->bs_time += (gethrtime() - ts); \
129 #define UPDATE_TOTALS(sb, field, ts, vts) \
130 UPDATE_TOTALS_WR(sb, (sb)->be_writing, field, ts, vts)
1355 hrtime_t ts, vts; local
1372 ts = gethrtime();
1375 UPDATE_TOTALS_WR(be, writing, bt_lock, ts, vts);
1387 r = backend_check_readonly(be, writing, ts);
2076 hrtime_t ts, vts; local
2084 ts
2184 hrtime_t ts, vts; local
2219 hrtime_t ts, vts; local
2246 hrtime_t ts, vts; local
2313 hrtime_t ts, vts; local
2353 hrtime_t ts, vts; local
2407 hrtime_t ts, vts; local
2436 hrtime_t ts, vts; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmclomv.c3388 timestruc_t ts; local
3408 ts.tv_sec = date_and_time_info->current_datetime;
3409 ts.tv_nsec = 0;
3411 tod_set(ts);
3412 set_hrestime(&ts);
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c202 #define HRSTART(v, m) v##ts.m = gethrtime()
203 #define HRSTOP(v, m) v.m += gethrtime() - v##ts.m
204 #define HRBEGIN(v, m, s) v##ts.m = gethrtime(); v.size += s
205 #define HREND(v, m) v.m += gethrtime() - v##ts.m
307 hrtime_t ts; /* timestamp */ member in struct:cqueue
1684 if (cq->ts != 0) {
1685 cq->empty += gethrtime() - cq->ts;
1686 cq->ts = 0;
1720 cq->ts = now;
H A Dkmem.c1406 timestruc_t ts; local
1409 hrt2ts(kmem_panic_info.kmp_timestamp - bcap->bc_timestamp, &ts);
1412 (void *)bcap->bc_thread, ts.tv_sec, ts.tv_nsec,
H A Dsunddi.c5315 timestruc_t ts; local
5317 ts = tod_get();
5319 return (ts.tv_sec);
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c1199 timespec_t ts; local
1204 ts.tv_sec = diff / NANOSEC;
1205 ts.tv_nsec = diff % NANOSEC;
1209 (void *)(intptr_t)bcap->bc_thread, ts.tv_sec, ts.tv_nsec,
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_defs.h243 uint32_t ts:1; /* Tag is stripped */ member in struct:Vmxnet3_RxCompDesc
/illumos-gate/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c814 format_ts(timestruc_t *ts, char *str, size_t len, boolean_t human_readable) argument
821 secs = ts->tv_sec;
822 pct = ts->tv_nsec / 1000 / 1000 / 10;
1569 timestruc_t *ts)
1586 format_ts(ts, ts_str, sizeof (ts_str), B_FALSE);
1617 uint_t pct_shares_used, timestruc_t *ts, boolean_t report_conflict)
1632 format_ts(ts, ts_str, sizeof (ts_str), B_FALSE);
1729 timestruc_t ts; local
1767 zs_pset_total_time(pset, &ts);
1791 size, min, max, &ts);
1567 zonestat_print_cpu_res(size_t namelen, int report_fmt, char *cputype, char *name, uint64_t online, uint64_t size, uint64_t min, uint64_t max, timestruc_t *ts) argument
1614 zonestat_print_cpu_zone(size_t namelen, int report_fmt, char *cputype, char *name, char *zonename, uint64_t used, uint_t pct, uint64_t cap, uint_t pct_cap, uint64_t shares, uint_t scheds, uint_t pct_shares, uint_t pct_shares_used, timestruc_t *ts, boolean_t report_conflict) argument
1913 timestruc_t ts; local
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c988 (void) time(&mp->ts);
1083 (void) time(&mp->ts);
1151 mp->ts = lp->ttime;
1160 ctime_r(&mp->ts, cbuf) + 4);
1540 f->f_current.time = mp->ts;
1743 time_t ts; local
1766 ts = f->f_current.time;
1774 ts = f->f_prevmsg.time;
1785 (void) strncpy(cp, ctime_r(&ts, cbuf) + 4, 15);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c8836 hrtime_t ts = gethrtime(); local
8837 if ((ts % segvn_pglock_mtbf) == 0) {
8840 if ((ts % segvn_pglock_mtbf) == 1) {
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c2945 vfs_mnttab_modtime(timespec_t *ts) argument
2948 *ts = vfs_mnttab_mtime;
2977 vfs_mono_time(timespec_t *ts) argument
2996 hrt2ts(newhrt, ts);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c159 transfer_state ts; member in struct:request_state
4630 // read_msg may be called any time when the transfer state (req->ts) is t_morecoming.
4634 if (req->ts == t_terminated || req->ts == t_error)
4635 { LogMsg("%3d: ERROR: read_msg called with transfer state terminated or error", req->sd); req->ts = t_error; return; }
4637 if (req->ts == t_complete) // this must be death or something is wrong
4641 if (!nread) { req->ts = t_terminated; return; }
4644 req->ts = t_error;
4648 if (req->ts != t_morecoming)
4649 { LogMsg("%3d: ERROR: read_msg called with invalid transfer state (%d)", req->sd, req->ts); re
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c2580 struct timespec ts; local
2598 ts.tv_sec = 0;
2599 ts.tv_nsec = NANOSEC / 1000;
2600 (void) nanosleep(&ts, NULL);
3569 timestruc_t ts; local
3608 ts.tv_sec = 0;
3609 ts.tv_nsec = 0;
3610 TIMESTRUC_ADD_TIMESTRUC(ts, pset->zsp_intr);
3611 TIMESTRUC_ADD_TIMESTRUC(ts, pset->zsp_kern);
3612 TIMESTRUC_ADD_TIMESTRUC(ts, pse
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c1336 uint32_t ts; local
1500 ts = (now.tv_sec % (24 * 60 * 60)) * 1000 +
1502 *tsp++ = htonl(ts); /* Lay in 'receive time' */
1503 *tsp++ = htonl(ts); /* Lay in 'send time' */
8993 uint32_t ts; local
9140 ts = (now.tv_sec % (24 * 60 * 60)) * 1000 +
9142 bcopy(&ts, (char *)opt + off, IPOPT_TS_TIMELEN);
9244 uint32_t ts; local
9366 ts = (now.tv_sec % (24 * 60 * 60)) * 1000 +
9368 bcopy(&ts, (cha
11945 uint32_t ts; local
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c13132 dof_sec_t *ss, *rs, *ts; local
13144 ts = dtrace_dof_sect(dof, DOF_SECT_NONE, dofr->dofr_tgtsec);
13146 if (ss == NULL || rs == NULL || ts == NULL)
13159 uintptr_t taddr = daddr + ts->dofs_offset + r->dofr_offset;
13165 if (r->dofr_offset >= ts->dofs_size || r->dofr_offset +
13166 sizeof (uint64_t) > ts->dofs_size) {
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c6793 struct timespec ts; local
6886 ts.tv_sec = pg_timeout / NANOSEC;
6887 ts.tv_nsec = pg_timeout % NANOSEC;
6889 (void) nanosleep(&ts, NULL);
6923 ts.tv_sec = pg_timeout / NANOSEC;
6924 ts.tv_nsec = pg_timeout % NANOSEC;
6926 (void) nanosleep(&ts, NULL);

Completed in 322 milliseconds

12345678