Searched refs:wakeup (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dxwork.d29 sched:::wakeup
36 sched:::wakeup
H A Dnscd.d33 sched:::wakeup
41 sched:::wakeup
H A Dxterm.d34 sched:::wakeup
H A Dfirebird.d35 sched:::wakeup
43 sched:::wakeup
H A Dwhofor.d35 sched:::wakeup
/illumos-gate/usr/src/cmd/stat/common/
H A Dcommon.c55 * Sleep until *wakeup + interval, keeping cadence where desired
57 * *wakeup - The time we last wanted to wake up. Updated.
58 * interval - We want to sleep until *wakeup + interval
63 sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, argument
71 pause = *wakeup + interval - now;
76 *wakeup = now + interval;
91 *wakeup += interval;
94 *wakeup += interval;
108 pause_left = *wakeup - now;
H A Dstatcommon.h318 /* sleep until *wakeup + interval, keeping cadence where desired */
319 void sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever,
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtimers.c32 double wakeup; member in struct:_timer
116 if(tp->wakeup <=now)
118 if(!tpold || tpold->wakeup>tp->wakeup)
123 if(!tpmin || tpmin->wakeup>tp->wakeup)
140 while((tp->wakeup += tp->incr) <= now);
141 if(!tpmin || tpmin->wakeup>tp->wakeup)
144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (no
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Ddataq.h42 int wakeup; member in struct:dataq_waiter
H A Dqueue.c74 sleeper->wakeup = 1;
96 wait.wakeup = 0;
100 while (wait.wakeup == 0)
111 sleeper->wakeup = 1;
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A D_lwp_mutex_unlock.s47 clr %o1 ! call kernel to wakeup waiter:
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c82 wakeup(int n) function
116 (void) snoop_alarm(3, wakeup);
125 (void) snoop_alarm(0, wakeup);
162 (void) snoop_alarm(3, wakeup);
165 (void) snoop_alarm(0, wakeup);
/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c229 DTRACE_SCHED1(wakeup, kthread_t *, tp);
260 DTRACE_SCHED1(wakeup, kthread_t *, tp);
H A Dsemaphore.c302 DTRACE_SCHED1(wakeup, kthread_t *, tp);
350 DTRACE_SCHED1(wakeup, kthread_t *, tp);
H A Dport_subr.c493 int wakeup; local
506 wakeup = (portq->portq_flags & PORTQ_POLLOUT);
511 if (wakeup)
H A Dmsg.c206 * are being copied out. The process is guaranted to wakeup
217 * to complete it needs to wakeup the next receiver blocked on
227 * b) The message that was sent that triggered the wakeup is no
229 * We issue a wakeup on copy queue and then go back to
246 * After process copying finishes the copy out, it must wakeup (either
264 * d) If the message type is not found then we wakeup the next
726 * Don't forget to wakeup a sleeper that blocked because
1240 * msg queue. Given that, we need to do the wakeup
1263 msgq_wakeup_t *wakeup; local
1269 wakeup
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c88 wakeup(int n) function
122 (void) signal(SIGALRM, wakeup);
166 (void) signal(SIGALRM, wakeup);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Desi.c60 static int wakeup = 0; variable
440 wakeup = 1; /* wake up naturally */
633 wakeup = 2; /* wake up manually */
636 wakeup = 0; /* clear previous interruption */
862 * Check the wakeup flag of an ESI event. The idle might need to
866 * return - 0: no wakeup, otherwise yes.
1053 * Idle for certain amount of time or a wakeup signal is recieved.
1085 while (wakeup == 0) {
1088 if (wakeup == 2) {
1091 /* clean wakeup fla
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c118 * Sleep until *wakeup + interval, keeping cadence where desired
120 * *wakeup - The time we last wanted to wake up. Updated.
121 * interval - We want to sleep until *wakeup + interval
125 sleep_until(hrtime_t *wakeup, hrtime_t interval, int *caught_cont) argument
131 pause = *wakeup + interval - now;
136 *wakeup = now + interval;
151 *wakeup += interval;
154 *wakeup += interval;
168 pause_left = *wakeup - now;
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tell.c52 static void wakeup();
377 oldsignal = signal(SIGALRM, wakeup);
484 ** wakeup() - TRAP ALARM
487 static void wakeup () function
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c584 int wakeup = 0; local
603 wakeup = 1;
611 wakeup = 1;
619 if (wakeup) {
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsocketvar.h69 * Hooks for alternative wakeup strategies.
72 * wakeup any time that wakeup would otherwise be called with an
79 int (*wup_func)(); /* function to call instead of wakeup */
165 wakeup((caddr_t)&(sb)->sb_flags); \
/illumos-gate/usr/src/uts/common/disp/
H A Dshuttle.c117 DTRACE_SCHED1(wakeup, kthread_t *, t);
213 * object. Because we don't hit the sched:::wakeup DTrace probe until
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c113 clock_t wakeup = drv_usectohz(2 * 1000000); local
134 &dv->sdev_lookup_lock, wakeup, TR_CLOCK_TICK);
/illumos-gate/usr/src/cmd/init/
H A Dinit.c149 * nothing else requires this "init" wakeup.
436 } wakeup; variable in typeref:union:WAKEUP
819 if (wakeup.w_flags.w_powerhit) {
852 if (wakeup.w_mask == 0) {
866 * the current wakeup.
878 if (wakeup.w_flags.w_usersignal) {
904 if (wakeup.w_flags.w_powerhit)
908 * Clear all wakeup reasons.
910 wakeup.w_mask = 0;
986 wakeup
[all...]

Completed in 121 milliseconds

12