/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/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() 148 left = setalarm(tpmin->wakeup-now); in sigalrm() 149 if(left && (now+left) < tpmin->wakeup) in sigalrm() 152 left=tpmin->wakeup-now; in sigalrm() 193 tp->wakeup = getnow() + t; in sh_timeradd() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | queue.c | 72 sleeper->wakeup = 1; in dataq_enqueue() 94 wait.wakeup = 0; in dataq_dequeue() 98 while (wait.wakeup == 0) in dataq_dequeue() 109 sleeper->wakeup = 1; in dataq_dequeue()
|
H A D | dataq.h | 40 int wakeup; member
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 86 wakeup(int n) in wakeup() function 134 (void) snoop_alarm(3, wakeup); in iplookup() 143 (void) snoop_alarm(0, wakeup); in iplookup() 184 (void) snoop_alarm(3, wakeup); in ip6lookup() 187 (void) snoop_alarm(0, wakeup); in ip6lookup()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 86 wakeup(int n) in wakeup() function 120 (void) signal(SIGALRM, wakeup); 164 (void) signal(SIGALRM, wakeup);
|
/illumos-gate/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()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 582 int wakeup = 0; in __nis_release_item() local 601 wakeup = 1; in __nis_release_item() 609 wakeup = 1; in __nis_release_item() 617 if (wakeup) { in __nis_release_item()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sleepq.c | 228 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeone_chan() 259 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeall_chan()
|
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 | 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 | port_subr.c | 492 int wakeup; in port_free_event_local() local 505 wakeup = (portq->portq_flags & PORTQ_POLLOUT); in port_free_event_local() 510 if (wakeup) in port_free_event_local()
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 50 static void wakeup(); 375 oldsignal = signal(SIGALRM, wakeup); in main() 485 static void wakeup () in wakeup() function
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | _lwp_mutex_unlock.S | 47 clr %o1 ! call kernel to wakeup waiter:
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 440 } wakeup; variable 823 if (wakeup.w_flags.w_powerhit) { in main() 856 if (wakeup.w_mask == 0) { in main() 908 if (wakeup.w_flags.w_powerhit) in main() 914 wakeup.w_mask = 0; in main() 998 wakeup.w_mask = 0; in enter_maintenance() 1241 if (wakeup.w_flags.w_powerhit) { in spawn_processes() 1242 wakeup.w_flags.w_powerhit = 0; in spawn_processes() 2293 wakeup.w_flags.w_usersignal = 1; in siglvl() 2346 wakeup.w_flags.w_childdeath = 1; in childeath_single() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 787 hrtime_t wakeup, min_tx_time, now; in dmu_tx_delay() local 812 wakeup = MAX(tx->tx_start + min_tx_time, in dmu_tx_delay() 814 dp->dp_last_wakeup = wakeup; in dmu_tx_delay() 820 &curthread->t_delay_lock, wakeup, zfs_delay_resolution_ns, in dmu_tx_delay() 825 hrtime_t delta = wakeup - gethrtime(); in dmu_tx_delay()
|
/illumos-gate/usr/src/cmd/stat/kstat/ |
H A D | kstat.c | 417 ks_sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, in ks_sleep_until() argument 425 pause = *wakeup + interval - now; in ks_sleep_until() 429 *wakeup = now + interval; in ks_sleep_until() 433 *wakeup += interval; in ks_sleep_until() 436 *wakeup += interval; in ks_sleep_until() 451 pause_left = *wakeup - now; in ks_sleep_until()
|
/illumos-gate/usr/src/uts/common/io/vio9p/ |
H A D | vio9p.c | 341 bool wakeup = false; in vio9p_poll() local 364 wakeup = true; in vio9p_poll() 367 if (wakeup) { in vio9p_poll()
|