/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | cr_put.c | 402 * hitting a tab, where tabs are set every ts columns. Work right for 403 * the case where col > COLS, even if ts does not divide COLS. 407 tabcol(int col, int ts) argument 417 return (col + ts - (col % ts) + offset);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBA.cc | 314 struct timespec ts; local 318 ts.tv_sec = 0; 319 ts.tv_nsec = BUSY_SLEEP; 325 nanosleep(&ts, NULL); 329 nanosleep(&ts, NULL);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hrtimers.c | 369 timestruc_t ts; local 371 gethrestime(&ts); 372 td->hrt_secs = ts.tv_sec; 373 td->hrt_rem = ts.tv_nsec;
|
H A D | todpc_subr.c | 129 todpc_set(tod_ops_t *top, timestruc_t ts) argument 131 todinfo_t tod = utc_to_tod(ts.tv_sec - ggmtl()); 171 timestruc_t ts; local 220 ts.tv_sec = tod_to_utc(tod) + ggmtl(); 221 ts.tv_nsec = 0; 223 return (ts);
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_mem.c | 249 uint8_t ts; local 251 ts = sda_mem_getbits(slot->s_rcsd, 103, 8); 253 return ((units[ts & 0x7]) * (mult[(ts >> 3) & 0xf]));
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxfmt.c | 121 Tm_t ts; local 126 tm = tmxtm(&ts, t, NiL);
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | tod.c | 293 timestruc_t ts; local 315 if (ddi_copyin((caddr_t)arg, (caddr_t)&ts.tv_sec, 316 sizeof (ts.tv_sec), mode) != 0) { 328 ts.tv_sec = (time_t)time32; 330 ts.tv_nsec = 0; 333 tod_ops.tod_set_power_alarm(ts); 339 ts = tod_ops.tod_get(); 343 if (ddi_copyout((caddr_t)&ts.tv_sec, (caddr_t)arg, 344 sizeof (ts.tv_sec), mode) != 0) { 351 if (TIMEVAL_OVERFLOW(&ts)) { [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todblade.c | 140 timestruc_t ts; local 196 ts.tv_sec = tod_to_utc(rtc_to_tod(&rtc)); 197 ts.tv_nsec = 0; 198 return (ts); 269 todbl_set(timestruc_t ts) argument 272 todinfo_t tod = utc_to_tod(ts.tv_sec); 374 todbl_set_power_alarm(timestruc_t ts) argument
|
H A D | todm5819p_rmc.c | 141 timestruc_t ts; local 186 ts.tv_sec = tod_to_utc(rtc_to_tod(&rtc)); 187 ts.tv_nsec = 0; 188 return (ts); 247 todm5819p_rmc_set(timestruc_t ts) argument 250 todinfo_t tod = utc_to_tod(ts.tv_sec); 362 todm5819p_rmc_set_power_alarm(timestruc_t ts) argument 369 tod = utc_to_tod(ts.tv_sec);
|
H A D | todsg.c | 346 timestruc_t ts = {0, 0}; local 347 ts.tv_sec = seconds + domain_skew; 348 return (ts); 371 todsg_set(timestruc_t ts) argument 426 if (!complained && (ts.tv_sec != (seconds + domain_skew))) { 428 complained = update_tod_skew(ts.tv_sec - hwtod); 431 ts.tv_sec, hwtod, complained ? " failed" : ""); 504 todsg_set_power_alarm(timestruc_t ts) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_highres.c | 46 clock_highres_settime(timespec_t *ts) argument 52 clock_highres_gettime(timespec_t *ts) argument 54 hrt2ts(gethrtime(), (timestruc_t *)ts); 60 clock_highres_getres(timespec_t *ts) argument 62 hrt2ts(cyclic_getres(), (timestruc_t *)ts);
|
H A D | mutex.c | 349 turnstile_t *ts; local 428 ts = turnstile_lookup(lp); 447 (void) turnstile_block(ts, TS_WRITER_Q, lp, 509 turnstile_t *ts; local 521 ts = turnstile_lookup(lp); 523 if (ts == NULL) 526 turnstile_wakeup(ts, TS_WRITER_Q, ts->ts_waiters, NULL); 632 turnstile_t *ts = turnstile_lookup(lp); local 634 if (ts ! [all...] |
H A D | rwlock.c | 281 turnstile_t *ts; local 328 ts = turnstile_lookup(lp); 355 (void) turnstile_block(ts, TS_READER_Q, lp, 359 (void) turnstile_block(ts, TS_WRITER_Q, lp, 387 rw_readers_to_wake(turnstile_t *ts) argument 389 kthread_t *next_writer = ts->ts_sleepq[TS_WRITER_Q].sq_first; 390 kthread_t *next_reader = ts->ts_sleepq[TS_READER_Q].sq_first; 413 turnstile_t *ts; local 481 ts = turnstile_lookup(lp); 483 next_writer = ts 586 turnstile_t *ts = turnstile_lookup(lp); local [all...] |
H A D | turnstile.c | 36 * ts = turnstile_lookup(lp); 38 * turnstile_block(ts, TS_READER_Q, lp, &foo_sobj_ops); 42 * ts = turnstile_lookup(lp); 46 * turnstile_wakeup(ts, TS_WRITER_Q, nwaiters, new_owner or NULL); 182 turnstile_pi_inherit(turnstile_t *ts, kthread_t *inheritor, pri_t epri) argument 185 ASSERT(DISP_LOCK_HELD(&TURNSTILE_CHAIN(ts->ts_sobj).tc_lock)); 190 if (ts->ts_inheritor == NULL) { 191 ts->ts_inheritor = inheritor; 192 ts->ts_epri = epri; 194 ts 216 turnstile_pi_tsdelete(turnstile_t *ts, kthread_t *inheritor) argument 240 turnstile_pi_waive(turnstile_t *ts) argument 284 turnstile_t *ts; local 406 turnstile_block(turnstile_t *ts, int qnum, void *sobj, sobj_ops_t *sobj_ops, kmutex_t *mp, lwp_timer_t *lwptp) argument 660 turnstile_t *ts = t->t_ts; local 718 turnstile_wakeup(turnstile_t *ts, int qnum, int nthreads, kthread_t *owner) argument [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | pragma.c | 95 int ts = getTempStore(zStorageType); local 97 if( db->temp_store==ts ) return SQLITE_OK; 108 db->temp_store = ts;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | malloc.c | 305 size_t ts; local 337 ts = SIZE(tp); 340 if (!ISBIT0(ts)) { 348 SIZE(tp) = ts; 357 SETOLD01(SIZE(tp), ts); local 407 SETOLD01(SIZE(tp), ts); local 414 SETOLD01(SIZE(tp), ts); local 416 CLRBITS01(ts); 417 if (ts > size) 418 ts 445 SETOLD01(SIZE(tp), ts); local 470 SETOLD01(SIZE(tp), ts); local 491 size_t ts, size; local [all...] |
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vsincosbig.c | 73 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; local 145 ts = (__vlibm_TBL_sincos_hi[j+1] * w + s * t) + __vlibm_TBL_sincos_lo[j]; 146 s += ts;
|
H A D | __vsincosbigf.c | 72 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; local 142 ts = (__vlibm_TBL_sincos_hi[j+1] * w + s * t) + __vlibm_TBL_sincos_lo[j]; 143 s += ts;
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswstate.c | 112 nscd_nsw_state_t *s, *ts; local 129 ts = s->next; 131 s = ts;
|
/illumos-gate/usr/src/cmd/date/ |
H A D | date.c | 91 struct timespec ts; local 135 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) { 139 clock_val = ts.tv_sec; 164 fmt_extensions(fmtbuf, sizeof (fmtbuf), fmt, &ts);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucico.c | 103 time_t ts, tconv; local 734 (void) time(&ts); 736 Dc, ts - tconv);
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | streams.c | 585 size_t ts = *size; local 591 str->s_buffer_size = ts;
|
/illumos-gate/usr/src/cmd/touch/ |
H A D | touch.c | 268 parse_datetime(char *t, timespec_t *ts) argument 383 ts->tv_sec = when; 384 ts->tv_nsec = nanoseconds; 388 parse_time(char *t, timespec_t *ts) argument 444 ts->tv_sec = when; 445 ts->tv_nsec = 0; 449 parse_timespec(char *t, timespec_t *ts) argument 487 ts->tv_sec = when; 488 ts->tv_nsec = 0;
|
/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | poll_test.c | 470 struct timespec ts = {2, 0}; local 477 (void) pthread_cond_reltimedwait_np(&exitCond, &exitLock, &ts);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | strft.h | 101 hrtime_t ts; /* event timestamp, per gethrtime() */ member in struct:ftevnt
|