/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_timer.c | 181 clock_t tim = -1; local 188 tim = untimeout_default(tmp_id, 0); 192 return (tim);
|
H A D | lwp_sobj.c | 1157 clock_t tim = -1; local 1298 tim = lwp_timer_dequeue(&lwpt); 1302 else if (imm_timeout || (timedwait && tim == -1)) 1590 clock_t tim = -1; local 1778 tim = lwp_timer_dequeue(&lwpt); 1782 else if (imm_timeout || (timedwait && tim == -1)) 2034 clock_t tim = -1; local 2137 tim = lwp_timer_dequeue(&lwpt); 2142 else if (imm_timeout || (timedwait && tim == -1)) 2348 clock_t tim local [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 310 struct timeval tim; local 317 (void) gettimeofday(&tim, NULL); 318 to.tv_sec = tim.tv_sec + (delta / NANOSEC); 319 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) +
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_stats.c | 458 time_t tim; local 468 tim = time((time_t *)0); 469 (void) mvprintw(0, 79 - 10, "%-8.8s\n", &(ctime(&tim)[11]));
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | perfcnt.c | 257 (void) printf("%20s\tc_count\t tim\t\tavg. tim\ttot. %%\n", 263 float tim = dep->d_time * 1000000; local 266 dep->d_symname, dep->d_count, tim, tim / dep->d_count,
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_timer.c | 95 * If "tim" is -1 the timer is stopped. 97 * set to fire tim clock ticks from now. 100 sctp_timer(sctp_t *sctp, mblk_t *mp, clock_t tim) argument 110 if (tim >= 0) { 112 sctp_tb->sctp_tb_time_left = tim; 135 timeout((pfv_t)sctp_timer_fire, sctp_tb, tim); 138 switch (tim) {
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_timers.c | 133 * tim is in millisec. 136 tcp_timeout(conn_t *connp, void (*f)(void *), hrtime_t tim) argument 169 tim * MICROSEC, CALLOUT_TCP_RESOLUTION, CALLOUT_FLAG_ROUNDUP);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | condvar.c | 220 * Same as cv_wait except the thread will unblock at 'tim' 223 * Returns the amount of time left from the original 'tim' value 227 cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t tim) argument 232 if (tim <= now) 235 hrtim = TICK_TO_NSEC(tim - now); 261 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, argument 275 if (tim <= limit) 279 tim, res, flag); 364 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, argument 386 return (cv_timedwait_hires(cvp, mp, tim, re 475 cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t tim) argument 488 cv_timedwait_sig_hrtime(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim) argument 661 clock_t tim; local [all...] |
H A D | turnstile.c | 612 clock_t tim = -1; local 634 tim = lwp_timer_dequeue(lwptp); 639 else if (imm_timeout || (timedwait && tim == -1))
|
H A D | ddi.c | 994 qtimeout(queue_t *q, void (*func)(void *), void *arg, clock_t tim) argument 1015 tid = timeout(qcallbwrapper, cbp, tim);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ntlm.c | 486 struct mbuf *tim = ti_mbp->mb_top; local 542 (uchar_t *)tim->m_data, tim->m_len); 545 mb_put_mem(nt_mbp, tim->m_data, tim->m_len, MB_MSYSTEM);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 605 prttime(uint_t tim, char *tail) argument 609 if (tim >= 60) { 610 (void) printf("%3d:", tim/60); 615 tim %= 60; 616 if (tim > 0 || didhrs) { 617 (void) printf(didhrs && tim < 10 ? "%02d" : "%2d", tim);
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 503 time_t tim = ut->ut_xtime; local 504 prtat(&tim); 652 prttime(time_t tim, int width) argument 656 if (tim >= 36 * 60) { 658 (int)tim / HR, (int)(tim % HR) / 60, (int)tim % 60); 659 } else if (tim >= 60) { 661 (int)tim / 60, (int)tim [all...] |
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 465 time_t tim; local 481 tim = ut->ut_xtime; 482 (void) prtat(&tim); 489 tim = ut->ut_xtime; 490 tm = localtime(&tim); 743 prttime(time_t tim, int width) argument 747 if (tim >= 36 * 60) { 749 (int)tim / HR, (int)(tim % HR) / 60, (int)tim [all...] |
/illumos-gate/usr/src/cmd/ps/ |
H A D | ucbps.c | 1044 static time_t tim = 0L; local 1047 if (tim == 0L) 1048 tim = time((time_t *)0); 1050 if (tim - starttime > 24*60*60) {
|
H A D | ps.c | 1615 print_time(time_t tim, int width) argument 1623 if (tim < 0) { 1628 seconds = tim % 60; 1629 tim /= 60; 1630 minutes = tim % 60; 1631 tim /= 60; 1632 hours = tim % 24; 1633 days = tim / 24;
|
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 877 struct tm tim; local 899 tim = *(localtime(&now)); 900 (void) strftime(format_time, 30, "%b %d %H:%M:%S ", &tim);
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | dir.c | 832 ushort_t tim, dat; local 846 tim = tm.tm_hour << HOURSHIFT; 847 tim |= tm.tm_min << MINSHIFT; 848 tim |= (tm.tm_sec / 2) << SECSHIFT; 855 dat = tim = 0; 858 pctp->pct_time = LE_16(tim);
|
/illumos-gate/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 472 time_t t, t1, tim; local 496 tim = time((time_t *)NULL) + t; 497 return (tim); 506 tim = t*60; 512 tim += t; 513 tim *= 60; 517 if (tim < t || tim >= (24*3600)) { 522 return (t1 + tim - t);
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.c | 1077 * If "tim" is -2 the timer is moved to a different queue. 1078 * If "tim" is -1 the timer is stopped. 1080 * set to fire tim milliseconds from now. 1084 mi_timer(queue_t *q, MBLKP mp, clock_t tim) argument 1089 ASSERT(tim >= -2); 1094 if (tim >= 0) { 1097 tim = MSEC_TO_TICK(tim); 1104 mtb->mtb_time_left = tim; 1114 mtb->mtb_time_left = tim; 1228 clock_t tim; local [all...] |
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_impl.h | 310 uint8_t *tim; member in struct:ieee80211_scanparams
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 345 cv_timedwait_hires(kcondvar_t *cv, kmutex_t *mp, hrtime_t tim, hrtime_t res, argument 355 delta = tim;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 864 _ltzset(time_t tim) argument 869 unused = ltzset_u(tim);
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpireg.h | 465 uint16_t tim; member in struct:wpi_cmd_beacon
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 759 time_t tim; local 787 if (((tim = num(&ptr)) == 0) || (*ptr != '.')) 797 init_atevent(dp->d_name, tim, jobtype, first); 877 init_atevent(char *name, time_t tim, int jobtype, int first) argument 883 add_atevent(u, name, tim, jobtype); 887 add_atevent(u, name, tim, jobtype); 889 update_atevent(u, name, tim, jobtype); 993 time_t tim; local 1002 if (((tim = num(&ptr)) == 0) || (*ptr != '.')) 1056 add_atevent(u, name, tim, jobtyp 1067 add_atevent(struct usr *u, char *job, time_t tim, int jobtype) argument 1094 update_atevent(struct usr *u, char *name, time_t tim, int jobtype) argument 2771 msg_wait(long tim) argument [all...] |