/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 32 double wakeup; member 116 if(tp->wakeup <=now) in sigalrm() 118 if(!tpold || tpold->wakeup>tp->wakeup) in sigalrm() 123 if(!tpmin || tpmin->wakeup>tp->wakeup) in sigalrm() 140 while((tp->wakeup += tp->incr) <= now); in sigalrm() 141 if(!tpmin || tpmin->wakeup>tp->wakeup) in sigalrm() 144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (now+left)))) in sigalrm() 148 left = setalarm(tpmin->wakeup-now); in sigalrm() 149 if(left && (now+left) < tpmin->wakeup) in sigalrm() 152 left=tpmin->wakeup-now; in sigalrm() [all …]
|
/titanic_44/usr/src/cmd/stat/common/ |
H A D | common.c | 63 sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, in sleep_until() argument 71 pause = *wakeup + interval - now; in sleep_until() 76 *wakeup = now + interval; in sleep_until() 91 *wakeup += interval; in sleep_until() 94 *wakeup += interval; in sleep_until() 108 pause_left = *wakeup - now; in sleep_until()
|
H A D | statcommon.h | 319 void sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever,
|
/titanic_44/usr/src/cmd/syslogd/ |
H A D | queue.c | 74 sleeper->wakeup = 1; in dataq_enqueue() 96 wait.wakeup = 0; in dataq_dequeue() 100 while (wait.wakeup == 0) in dataq_dequeue() 111 sleeper->wakeup = 1; in dataq_dequeue()
|
H A D | dataq.h | 42 int wakeup; member
|
/titanic_44/usr/src/cmd/dtrace/demo/sched/ |
H A D | xwork.d | 29 sched:::wakeup 36 sched:::wakeup
|
H A D | nscd.d | 33 sched:::wakeup 41 sched:::wakeup
|
H A D | firebird.d | 35 sched:::wakeup 43 sched:::wakeup
|
H A D | xterm.d | 34 sched:::wakeup
|
H A D | whofor.d | 35 sched:::wakeup
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 82 wakeup(int n) in wakeup() function 116 (void) snoop_alarm(3, wakeup); in iplookup() 125 (void) snoop_alarm(0, wakeup); in iplookup() 162 (void) snoop_alarm(3, wakeup); in ip6lookup() 165 (void) snoop_alarm(0, wakeup); in ip6lookup()
|
/titanic_44/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 88 wakeup(int n) in wakeup() function 122 (void) signal(SIGALRM, wakeup); 166 (void) signal(SIGALRM, wakeup);
|
/titanic_44/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 60 static int wakeup = 0; variable 440 wakeup = 1; /* wake up naturally */ in sigalrm() 633 wakeup = 2; /* wake up manually */ in get_stopwatch() 636 wakeup = 0; /* clear previous interruption */ in get_stopwatch() 1085 while (wakeup == 0) { in idle() 1088 if (wakeup == 2) { in idle() 1092 wakeup = 0; in idle()
|
/titanic_44/usr/src/cmd/sa/ |
H A D | sadc.c | 125 sleep_until(hrtime_t *wakeup, hrtime_t interval, int *caught_cont) in sleep_until() argument 131 pause = *wakeup + interval - now; in sleep_until() 136 *wakeup = now + interval; in sleep_until() 151 *wakeup += interval; in sleep_until() 154 *wakeup += interval; in sleep_until() 168 pause_left = *wakeup - now; in sleep_until()
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 584 int wakeup = 0; in __nis_release_item() local 603 wakeup = 1; in __nis_release_item() 611 wakeup = 1; in __nis_release_item() 619 if (wakeup) { in __nis_release_item()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sleepq.c | 229 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeone_chan() 260 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeall_chan()
|
H A D | semaphore.c | 304 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_p_sig() 352 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_v()
|
H A D | msg.c | 1263 msgq_wakeup_t *wakeup; in msg_wakeup_rdr() local 1269 wakeup = walker->selection(qp, msg_hash, type); in msg_wakeup_rdr() 1271 } while (!wakeup && walker != *flist); in msg_wakeup_rdr() 1274 if (wakeup) { in msg_wakeup_rdr() 1276 wakeup->msgw_snd_wake = type; in msg_wakeup_rdr() 1278 cv_signal(&wakeup->msgw_wake_cv); in msg_wakeup_rdr()
|
H A D | port_subr.c | 493 int wakeup; in port_free_event_local() local 506 wakeup = (portq->portq_flags & PORTQ_POLLOUT); in port_free_event_local() 511 if (wakeup) in port_free_event_local()
|
/titanic_44/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 52 static void wakeup(); 377 oldsignal = signal(SIGALRM, wakeup); in main() 487 static void wakeup () in wakeup() function
|
/titanic_44/usr/src/lib/libc/sparc/sys/ |
H A D | _lwp_mutex_unlock.s | 47 clr %o1 ! call kernel to wakeup waiter:
|
/titanic_44/usr/src/cmd/init/ |
H A D | init.c | 436 } wakeup; variable 819 if (wakeup.w_flags.w_powerhit) { in main() 852 if (wakeup.w_mask == 0) { in main() 878 if (wakeup.w_flags.w_usersignal) { in main() 904 if (wakeup.w_flags.w_powerhit) in main() 910 wakeup.w_mask = 0; in main() 986 wakeup.w_mask = 0; in enter_maintenance() 1229 if (wakeup.w_flags.w_powerhit) { in spawn_processes() 1230 wakeup.w_flags.w_powerhit = 0; in spawn_processes() 2330 wakeup.w_flags.w_usersignal = 1; in siglvl() [all …]
|
/titanic_44/usr/src/uts/common/fs/dev/ |
H A D | sdev_comm.c | 113 clock_t wakeup = drv_usectohz(2 * 1000000); in sdev_wait4lookup() local 134 &dv->sdev_lookup_lock, wakeup, TR_CLOCK_TICK); in sdev_wait4lookup()
|
/titanic_44/usr/src/lib/libbc/inc/include/sys/ |
H A D | socketvar.h | 165 wakeup((caddr_t)&(sb)->sb_flags); \
|
/titanic_44/usr/src/cmd/stat/kstat/ |
H A D | kstat.c | 407 ks_sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, in ks_sleep_until() argument 415 pause = *wakeup + interval - now; in ks_sleep_until() 419 *wakeup = now + interval; in ks_sleep_until() 423 *wakeup += interval; in ks_sleep_until() 426 *wakeup += interval; in ks_sleep_until() 441 pause_left = *wakeup - now; in ks_sleep_until()
|