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

12345678

/illumos-gate/usr/src/lib/libpcidb/common/
H A Dpcidb.c357 pcidb_subvd_t *s, *ts; local
368 ts = s;
370 free(ts);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_subr.c828 * hitting a tab, where tabs are set every ts columns. Work right for
829 * the case where col > columns, even if ts does not divide columns.
832 tabcol(int col, int ts) argument
841 result = col + ts - (col % ts) + offset;
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c178 timespec_t ts; local
184 ts.tv_sec = timeout / MILLISEC;
185 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC;
186 tsp = &ts;
339 timespec_t ts[2]; local
347 ts[0].tv_sec = ltimes.actime;
348 ts[0].tv_nsec = 0;
349 ts[1].tv_sec = ltimes.modtime;
350 ts[1].tv_nsec = 0;
351 tsp = ts;
362 timespec_t ts[2]; local
386 timespec_t ts[2]; local
[all...]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c469 struct timespec ts; local
477 ts.tv_sec = (time_t)((ht - htnow) / NSECS_PER_SEC);
478 ts.tv_nsec = (suseconds_t)((ht - htnow) % NSECS_PER_SEC);
480 (void) nanosleep(&ts, NULL);
546 ts.tv_sec = (time_t)((ht - htnow) /
548 ts.tv_nsec = (suseconds_t)((ht - htnow) %
551 (void) nanosleep(&ts, NULL);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c305 tswidth(tchar *ts) argument
312 while (tc = *ts++) {
318 return (strlen_(ts));
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c383 turnstile_t ts; local
385 if (mdb_vread(&ts, sizeof (ts), addr) == -1) {
390 if (ts.ts_waiters == 0 || ts.ts_sobj != wsp->walk_data)
405 turnstile_t ts; local
410 if (mdb_vread(&ts, sizeof (ts), addr) == -1) {
417 (uintptr_t)&ts.ts_sleepq[i] - (uintptr_t)&ts
710 turnstile_t ts, *tsp; local
[all...]
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c568 struct tm ts; local
600 if (fmev_localtime(ev, &ts) == NULL) {
605 (void) strftime(tstamp, sizeof (tstamp), NULL, &ts);
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c191 time_t ts = t->tstamp; local
193 tdt = date_n_time(&ts, &dt_len);
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c779 wchar_t *ts = exprstring(nextarg(&np)); local
782 wcslen(ts));
784 ts);
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c118 int ts; local
159 ts = curfile.ts;
160 if (ts != TS_END && ts != TS_INODE) {
164 if (ts == TS_INODE && ip == NULL) {
170 if ((ts == TS_INODE && (ip->di_mode & IFMT) != IFDIR &&
172 (ts == TS_END)) {
H A Drestore.h205 int ts; /* TS_* type of tape record */ member in struct:context
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c1444 long td, th, tm, ts; local
1465 ts = td%60;
1470 (void) fprintf(Cf, "(%ld:%ld:%ld)\n%s\n%s\n\n", th, tm, ts, f, m);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dadutils.c134 timespec_t ts; local
136 ts.tv_sec = ADREAPERSLEEP;
137 ts.tv_nsec = 0;
144 (void) nanosleep(&ts, NULL);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h107 time_t ts; /* timestamp */ member in struct:log_message
/illumos-gate/usr/src/uts/common/disp/
H A Drt.c750 timestruc_t ts; local
751 TICK_TO_TIMESTRUC(rtkprmsp->rt_tqntm, &ts);
752 ((rtparms_t *)rtkprmsp)->rt_tqsecs = ts.tv_sec;
753 ((rtparms_t *)rtkprmsp)->rt_tqnsecs = ts.tv_nsec;
768 timestruc_t ts; local
792 TICK_TO_TIMESTRUC(rtkprmsp->rt_tqntm, &ts);
793 secs = ts.tv_sec;
794 nsecs = ts.tv_nsec;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log_xdr.c156 timestruc32_t ts; local
182 TIMESPEC_TO_TIMESPEC32(&ts, &now);
183 if (!xdr_timestruc32_t(xdrs, &ts))
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dswrand.c200 hrtime_t ts; local
220 ts = gethrtime();
221 swrand_add_entropy((uint8_t *)&ts, sizeof (ts), 0);
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c290 size_t ts; local
315 ts = SIZE(tp);
318 if (!ISBIT0(ts)) {
328 SIZE(tp) = ts;
337 SETOLD01(SIZE(tp), ts); local
395 SETOLD01(SIZE(tp), ts); local
402 SETOLD01(SIZE(tp), ts); local
404 CLRBITS01(ts);
405 if (ts > size)
406 ts
433 SETOLD01(SIZE(tp), ts); local
462 SETOLD01(SIZE(tp), ts); local
483 size_t ts, size; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dddi.c310 timestruc_t ts; local
312 ts = tod_get();
314 *(time_t *)valuep = ts.tv_sec;
H A Dtask.c626 timestruc_t ts; local
635 gethrestime(&ts);
636 tu->tu_startsec = (uint64_t)ts.tv_sec;
637 tu->tu_startnsec = (uint64_t)ts.tv_nsec;
H A Dtimers.c89 timestruc_t ts; local
97 gethrestime(&ts);
103 nsec = ts.tv_nsec;
115 sec = ts.tv_sec;
219 hrtime_t ts, first, interval, remain; local
254 if ((ts = gethrtime()) < first) {
260 remain = first - ts;
276 remain = interval - ((ts - first) % interval);
340 hrtime_t ts; local
433 when.cyt_when = (ts
881 timespec_t ts, now; local
1226 timestruc_t ts; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dsem.c757 compute_timeout(timespec_t **tsp, timespec_t *ts, timespec_t *now, argument
763 if (copyin(timeout, ts, sizeof (timespec_t)))
770 TIMESPEC32_TO_TIMESPEC(ts, &ts32)
773 if (itimerspecfix(ts))
779 timespecadd(ts, now);
780 *tsp = ts;
873 timespec_t now, ts, *tsp = NULL; local
900 if (error = compute_timeout(&tsp, &ts, &now, timeout))
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_res.c268 #define SLPSTATE(t, ts) \
269 (((ts) == TS_STOPPED) ? LMS_STOPPED : \
284 uint_t ts; local
288 ts = t->t_state;
295 if ((borrow = (ts == TS_ZOMB)) != 0) {
304 if (ts == TS_SLEEP && t->t_wchan)
324 tnf_microstate, state, SLPSTATE(t, ts));
327 tnf_microstate, state, SLPSTATE(t, ts));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c1343 char* ts; local
1353 ts = tb;
1356 error(DEBUG_TRACE, "AHA#%d iconv_write ts=%p tn=%d", __LINE__, ts, tn);
1359 while (_ast_iconv(cd, fb, fn, &ts, &tn) == (size_t)(-1))
1365 _r = _ast_iconv(cd, fb, fn, &ts, &tn);
1376 *ts++ = *(*fb)++;
1381 error(DEBUG_TRACE, "AHA#%d iconv_write %d", __LINE__, ts - tb);
1384 sfwrite(op, tb, ts - tb);
1385 r += ts
1400 char* ts; local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dmachdep.c573 uint64_t ts; local
579 ts = t->t_intr_start;
580 } while (atomic_cas_64(&t->t_intr_start, ts, CLOCK_TICK_COUNTER()) !=
581 ts);

Completed in 139 milliseconds

12345678