Home
last modified time | relevance | path

Searched refs:tim (Results 1 – 25 of 43) sorted by relevance

12

/titanic_50/usr/src/uts/common/os/
H A Dcondvar.c228 cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t tim) in cv_timedwait() argument
233 if (tim <= now) in cv_timedwait()
236 hrtim = TICK_TO_NSEC(tim - now); in cv_timedwait()
262 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_hires() argument
276 if (tim <= limit) in cv_timedwait_hires()
280 tim, res, flag); in cv_timedwait_hires()
365 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_sig_hires() argument
387 return (cv_timedwait_hires(cvp, mp, tim, res, flag)); in cv_timedwait_sig_hires()
398 if (tim <= limit) { in cv_timedwait_sig_hires()
411 tim, res, flag); in cv_timedwait_sig_hires()
[all …]
H A Dturnstile.c612 clock_t tim = -1; in turnstile_block() local
634 tim = lwp_timer_dequeue(lwptp); in turnstile_block()
639 else if (imm_timeout || (timedwait && tim == -1)) in turnstile_block()
H A Dddi.c994 qtimeout(queue_t *q, void (*func)(void *), void *arg, clock_t tim) in qtimeout() argument
1015 tid = timeout(qcallbwrapper, cbp, tim); in qtimeout()
/titanic_50/usr/src/cmd/whodo/
H A Dwhodo.c465 time_t tim; in main() local
481 tim = ut->ut_xtime; in main()
482 (void) prtat(&tim); in main()
489 tim = ut->ut_xtime; in main()
490 tm = localtime(&tim); in main()
743 prttime(time_t tim, int width) in prttime() argument
747 if (tim >= 36 * 60) { in prttime()
749 (int)tim / HR, (int)(tim % HR) / 60, (int)tim % 60); in prttime()
750 } else if (tim >= 60) { in prttime()
752 (int)tim / 60, (int)tim % 60); in prttime()
[all …]
/titanic_50/usr/src/cmd/w/
H A Dw.c503 time_t tim = ut->ut_xtime; in main() local
504 prtat(&tim); in main()
652 prttime(time_t tim, int width) in prttime() argument
656 if (tim >= 36 * 60) { in prttime()
658 (int)tim / HR, (int)(tim % HR) / 60, (int)tim % 60); in prttime()
659 } else if (tim >= 60) { in prttime()
661 (int)tim / 60, (int)tim % 60); in prttime()
662 } else if (tim > 0) { in prttime()
663 (void) snprintf(value, sizeof (value), "%d", (int)tim); in prttime()
/titanic_50/usr/src/ucbcmd/shutdown/
H A Dshutdown.c472 time_t t, t1, tim; in getsdt() local
496 tim = time((time_t *)NULL) + t; in getsdt()
497 return (tim); in getsdt()
506 tim = t*60; in getsdt()
512 tim += t; in getsdt()
513 tim *= 60; in getsdt()
517 if (tim < t || tim >= (24*3600)) { in getsdt()
522 return (t1 + tim - t); in getsdt()
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_timeout.c310 struct timeval tim; in sip_timer_thr() local
317 (void) gettimeofday(&tim, NULL); in sip_timer_thr()
318 to.tv_sec = tim.tv_sec + (delta / NANOSEC); in sip_timer_thr()
319 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) + in sip_timer_thr()
/titanic_50/usr/src/uts/common/syscall/
H A Dlwp_timer.c181 clock_t tim = -1; in lwp_timer_dequeue() local
188 tim = untimeout_default(tmp_id, 0); in lwp_timer_dequeue()
192 return (tim); in lwp_timer_dequeue()
H A Dlwp_sobj.c1153 clock_t tim = -1; in lwp_mutex_timedlock() local
1282 tim = lwp_timer_dequeue(&lwpt); in lwp_mutex_timedlock()
1286 else if (imm_timeout || (timedwait && tim == -1)) in lwp_mutex_timedlock()
1574 clock_t tim = -1; in lwp_cond_wait() local
1762 tim = lwp_timer_dequeue(&lwpt); in lwp_cond_wait()
1766 else if (imm_timeout || (timedwait && tim == -1)) in lwp_cond_wait()
2018 clock_t tim = -1; in lwp_sema_timedwait() local
2121 tim = lwp_timer_dequeue(&lwpt); in lwp_sema_timedwait()
2126 else if (imm_timeout || (timedwait && tim == -1)) in lwp_sema_timedwait()
2332 clock_t tim = -1; in lwp_rwlock_lock() local
[all …]
/titanic_50/usr/src/cmd/rpcsvc/
H A Drusers.c605 prttime(uint_t tim, char *tail) in prttime() argument
609 if (tim >= 60) { in prttime()
610 (void) printf("%3d:", tim/60); in prttime()
615 tim %= 60; in prttime()
616 if (tim > 0 || didhrs) { in prttime()
617 (void) printf(didhrs && tim < 10 ? "%02d" : "%2d", tim); in prttime()
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dntlm.c486 struct mbuf *tim = ti_mbp->mb_top; in ntlm_put_v2_responses() local
542 (uchar_t *)tim->m_data, tim->m_len); in ntlm_put_v2_responses()
545 mb_put_mem(nt_mbp, tim->m_data, tim->m_len, MB_MSYSTEM); in ntlm_put_v2_responses()
/titanic_50/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c263 float tim = dep->d_time * 1000000; in cleanup() local
266 dep->d_symname, dep->d_count, tim, tim / dep->d_count, in cleanup()
/titanic_50/usr/src/uts/common/inet/
H A Dmi.c1084 mi_timer(queue_t *q, MBLKP mp, clock_t tim) in mi_timer() argument
1089 ASSERT(tim >= -2); in mi_timer()
1094 if (tim >= 0) { in mi_timer()
1097 tim = MSEC_TO_TICK(tim); in mi_timer()
1104 mtb->mtb_time_left = tim; in mi_timer()
1114 mtb->mtb_time_left = tim; in mi_timer()
1121 mtb->mtb_time_left = tim; in mi_timer()
1127 mtb->mtb_tid = timeout((pfv_t)mi_timer_fire, mtb, tim); in mi_timer()
1130 switch (tim) { in mi_timer()
1228 clock_t tim; in mi_timer_move() local
[all …]
H A Dmi.h135 extern void mi_timer(queue_t *q, MBLKP mp, clock_t tim);
H A Dtcp_impl.h121 #define TCP_TIMER(tcp, f, tim) \ argument
122 tcp_timeout(tcp->tcp_connp, f, tim)
/titanic_50/usr/src/cmd/syslogd/
H A Dsyslogd.c4961 time_t tim; in reconfigure() local
4983 tim = time(NULL); in reconfigure()
4986 mythreadno, ctime_r(&tim, cbuf)+4); in reconfigure()
5000 tim = time(NULL); in reconfigure()
5002 mythreadno, ctime_r(&tim, cbuf)+4); in reconfigure()
5021 tim = time(NULL); in reconfigure()
5023 mythreadno, ctime_r(&tim, cbuf)+4); in reconfigure()
5044 tim = time(NULL); in reconfigure()
5047 mythreadno, ctime_r(&tim, cbuf)+4); in reconfigure()
5062 tim = time(NULL); in reconfigure()
[all …]
/titanic_50/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c832 ushort_t tim, dat; in getNow() local
846 tim = tm.tm_hour << HOURSHIFT; in getNow()
847 tim |= tm.tm_min << MINSHIFT; in getNow()
848 tim |= (tm.tm_sec / 2) << SECSHIFT; in getNow()
855 dat = tim = 0; in getNow()
858 pctp->pct_time = LE_16(tim); in getNow()
/titanic_50/usr/src/cmd/cron/
H A Dcron.c759 time_t tim; in read_dirs() local
787 if (((tim = num(&ptr)) == 0) || (*ptr != '.')) in read_dirs()
797 init_atevent(dp->d_name, tim, jobtype, first); in read_dirs()
877 init_atevent(char *name, time_t tim, int jobtype, int first) in init_atevent() argument
883 add_atevent(u, name, tim, jobtype); in init_atevent()
887 add_atevent(u, name, tim, jobtype); in init_atevent()
889 update_atevent(u, name, tim, jobtype); in init_atevent()
993 time_t tim; in mod_atjob() local
1002 if (((tim = num(&ptr)) == 0) || (*ptr != '.')) in mod_atjob()
1056 add_atevent(u, name, tim, jobtype); in mod_atjob()
[all …]
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c458 time_t tim; in prheading() local
468 tim = time((time_t *)0); in prheading()
469 (void) mvprintw(0, 79 - 10, "%-8.8s\n", &(ctime(&tim)[11])); in prheading()
/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_timer.c100 sctp_timer(sctp_t *sctp, mblk_t *mp, clock_t tim) in sctp_timer() argument
110 if (tim >= 0) { in sctp_timer()
112 sctp_tb->sctp_tb_time_left = tim; in sctp_timer()
135 timeout((pfv_t)sctp_timer_fire, sctp_tb, tim); in sctp_timer()
138 switch (tim) { in sctp_timer()
/titanic_50/usr/src/cmd/ps/
H A Ducbps.c1044 static time_t tim = 0L; in prtime() local
1047 if (tim == 0L) in prtime()
1048 tim = time((time_t *)0); in prtime()
1050 if (tim - starttime > 24*60*60) { in prtime()
H A Dps.c1615 print_time(time_t tim, int width) in print_time() argument
1623 if (tim < 0) { in print_time()
1628 seconds = tim % 60; in print_time()
1629 tim /= 60; in print_time()
1630 minutes = tim % 60; in print_time()
1631 tim /= 60; in print_time()
1632 hours = tim % 24; in print_time()
1633 days = tim / 24; in print_time()
/titanic_50/usr/src/uts/common/rpc/
H A Dclnt_clts.c446 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim)) argument
447 #define dobackoff(tim) ((((tim) << 1) > MAXTIMO) ? MAXTIMO : ((tim) << 1)) argument
/titanic_50/usr/src/cmd/fm/modules/common/ses-log-transport/
H A Dses_log_transport.c877 struct tm tim; in process_log() local
899 tim = *(localtime(&now)); in process_log()
900 (void) strftime(format_time, 30, "%b %d %H:%M:%S ", &tim); in process_log()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c1208 #define backoff(tim) (((tim) < MAXTIMO) ? dobackoff(tim) : (tim)) argument
1209 #define dobackoff(tim) ((((tim) << 1) > MAXTIMO) ? MAXTIMO : ((tim) << 1)) argument

12