Searched refs:tim (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dcondvar.c220 * 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 Dturnstile.c612 clock_t tim = -1; local
634 tim = lwp_timer_dequeue(lwptp);
639 else if (imm_timeout || (timedwait && tim == -1))
H A Dddi.c994 qtimeout(queue_t *q, void (*func)(void *), void *arg, clock_t tim) argument
1015 tid = timeout(qcallbwrapper, cbp, tim);
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c465 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/w/
H A Dw.c503 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/lib/libsip/common/
H A Dsip_timeout.c310 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/ucbcmd/shutdown/
H A Dshutdown.c472 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/cmd/sgs/link_audit/common/
H A Dperfcnt.c257 (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/syscall/
H A Dlwp_timer.c181 clock_t tim = -1; local
188 tim = untimeout_default(tmp_id, 0);
192 return (tim);
H A Dlwp_sobj.c1157 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/libsmbfs/smb/
H A Dntlm.c486 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 Drusers.c605 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/uts/common/inet/
H A Dmi.c1077 * 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...]
H A Dmi.h135 extern void mi_timer(queue_t *q, MBLKP mp, clock_t tim);
H A Dtcp_impl.h119 * TCP_TIMER_RESTART(). tim is in millisec.
121 #define TCP_TIMER(tcp, f, tim) \
122 tcp_timeout(tcp->tcp_connp, f, tim)
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c458 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/uts/common/inet/sctp/
H A Dsctp_timer.c95 * 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/cmd/syslogd/
H A Dsyslogd.c4961 time_t tim; local
4983 tim = time(NULL);
4986 mythreadno, ctime_r(&tim, cbuf)+4);
5000 tim = time(NULL);
5002 mythreadno, ctime_r(&tim, cbuf)+4);
5021 tim = time(NULL);
5023 mythreadno, ctime_r(&tim, cbuf)+4);
5044 tim = time(NULL);
5047 mythreadno, ctime_r(&tim, cbuf)+4);
5062 tim
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c832 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/cmd/cron/
H A Dcron.c759 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...]
/illumos-gate/usr/src/cmd/ps/
H A Dps.c1615 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;
H A Ducbps.c1044 static time_t tim = 0L; local
1047 if (tim == 0L)
1048 tim = time((time_t *)0);
1050 if (tim - starttime > 24*60*60) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_clts.c443 * Time out back off function. tim is in HZ
446 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim))
447 #define dobackoff(tim) ((((tim) << 1) > MAXTIMO) ? MAXTIMO : ((tim) << 1))
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_timers.c133 * 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/cmd/fm/modules/common/ses-log-transport/
H A Dses_log_transport.c877 struct tm tim; local
899 tim = *(localtime(&now));
900 (void) strftime(format_time, 30, "%b %d %H:%M:%S ", &tim);

Completed in 162 milliseconds

12