Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 25 of 46) sorted by relevance

12

/titanic_44/usr/src/lib/libshell/common/sh/
H A Dtimers.c32 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 Dcommon.c63 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 Dstatcommon.h319 void sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever,
/titanic_44/usr/src/cmd/syslogd/
H A Dqueue.c74 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 Ddataq.h42 int wakeup; member
/titanic_44/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 Dfirebird.d35 sched:::wakeup
43 sched:::wakeup
H A Dxterm.d34 sched:::wakeup
H A Dwhofor.d35 sched:::wakeup
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c82 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 Dnfslog_ipaddr.c88 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 Desi.c60 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 Dsadc.c125 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 Dnis_hashitem.c584 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 Dsleepq.c229 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeone_chan()
260 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sleepq_wakeall_chan()
H A Dsemaphore.c304 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_p_sig()
352 DTRACE_SCHED1(wakeup, kthread_t *, tp); in sema_v()
H A Dmsg.c1263 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 Dport_subr.c493 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 Dlp.tell.c52 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.s47 clr %o1 ! call kernel to wakeup waiter:
/titanic_44/usr/src/cmd/init/
H A Dinit.c436 } 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 Dsdev_comm.c113 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 Dsocketvar.h165 wakeup((caddr_t)&(sb)->sb_flags); \
/titanic_44/usr/src/cmd/stat/kstat/
H A Dkstat.c407 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()

12