/illumos-gate/usr/src/cmd/syslogd/ |
H A D | dataq.h | 42 int wakeup; member in struct:dataq_waiter
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | common.c | 55 * 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;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 32 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/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 88 wakeup(int n) function 122 (void) signal(SIGALRM, wakeup); 166 (void) signal(SIGALRM, wakeup);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 584 int wakeup = 0; local 603 wakeup = 1; 611 wakeup = 1; 619 if (wakeup) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 82 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/fs/dev/ |
H A D | sdev_comm.c | 113 clock_t wakeup = drv_usectohz(2 * 1000000); local 134 &dv->sdev_lookup_lock, wakeup, TR_CLOCK_TICK);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | port_subr.c | 493 int wakeup; local 506 wakeup = (portq->portq_flags & PORTQ_POLLOUT); 511 if (wakeup)
|
H A D | msg.c | 206 * 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...] |
H A D | zone.c | 2797 boolean_t wakeup; local 2814 wakeup = (ZONE_IS_UNREF(z) && zone_status_get(z) >= ZONE_IS_DEAD); 2817 if (wakeup) { 2917 boolean_t wakeup; local 2932 wakeup = (zone_wait_for_cred && ZONE_IS_UNREF(z) && 2936 if (wakeup) {
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 60 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/lp/model/ |
H A D | lp.tell.c | 52 static void wakeup(); 377 oldsignal = signal(SIGALRM, wakeup); 484 ** wakeup() - TRAP ALARM 487 static void wakeup () function
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 101 uint32_t wakeup = 0; local 105 /* Clear all event masks and broadcast a wakeup */ 110 wakeup = 1; 118 wakeup = 1; 122 if (wakeup) {
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadc.c | 118 * 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/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 1562 clock_t wakeup = drv_usectohz(10); local 1579 (void) cv_reltimedwait(&so->so_read_cv, &so->so_lock, wakeup,
|
/illumos-gate/usr/src/cmd/stat/kstat/ |
H A D | kstat.c | 407 ks_sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, argument 415 pause = *wakeup + interval - now; 419 *wakeup = now + interval; 423 *wakeup += interval; 426 *wakeup += interval; 441 pause_left = *wakeup - now;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 1109 hrtime_t wakeup, min_tx_time, now; local 1134 wakeup = MAX(tx->tx_start + min_tx_time, 1136 dp->dp_last_wakeup = wakeup; 1142 &curthread->t_delay_lock, wakeup, zfs_delay_resolution_ns, 1147 hrtime_t delta = wakeup - gethrtime();
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | zs_async.c | 2088 boolean_t m_break = B_FALSE, wakeup = B_FALSE; local 2196 wakeup = B_TRUE; 2214 wakeup = B_TRUE; 2263 wakeup = B_TRUE; 2340 if (wakeup || (zs->zs_flags & ZS_CLOSED))
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 149 * 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...] |