Home
last modified time | relevance | path

Searched full:sleep (Results 1 – 25 of 1199) sorted by relevance

12345678910>>...48

/illumos-gate/usr/src/cmd/tail/tests/
H A Dtailtests.sh261 sleep 2
263 sleep 1
265 sleep 1
278 sleep 2
282 sleep 1
284 sleep 1
297 sleep 2
299 sleep 1
301 sleep 1
303 sleep 1
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dsignal.sh67 { sleep 4; kill $cop; } 2>/dev/null &
77 sleep 2 &
79 do sleep .75
173 sleep 2
194 sleep 2
227 sleep 2
233 sleep 2
243 sleep 5
273 …'trap "print SIGUSR1 ; exit 0" USR1; (trap "" USR1 ; exec kill -USR1 $$ & sleep 5); print done') =…
276 …p "print SIGUSR1 ; exit 0" USR1; (trap "exit" USR1 ; exec kill -USR1 $$ & sleep 5); print done') =…
[all …]
H A Dsigchld.sh42 do sleep $d &
48 sleep $delay
55 sleep $s
76 do sleep 1 &
95 { sleep 3; print a; exit 1; } &
98 { sleep 2; print b; exit 2; } &
101 { sleep 1; print c; exit 3; } &
105 do sleep -s
114 got=$( ( sleep 1;print $'\n') | $SHELL -c 'function handler { : ;}
115 trap handler CHLD; sleep .3 & IFS= read; print good')
[all …]
H A Dcoprocess.sh106 sleep 10 |&
124 { sleep 4; kill $cop; } 2>/dev/null &
145 ( sleep 3 |& sleep 1 && kill $!; sleep 1; sleep 3 |& sleep 1 && kill $! ) ||
171 sleep 0.01
181 sleep 0.01
185 sleep 2
195 sleep 2
197 sleep 2
200 sleep 2
215 { sleep 5; kill $$; } &
[all …]
H A Dbasic.sh141 ( sleep 2; cat <<!
305 sleep 20 &
310 sleep 20 &
320 [[ $( (trap 'print alarm' ALRM; sleep 4) & sleep 2; kill -ALRM $!; sleep 2; wait) == alarm ]] || er…
321 [[ $($SHELL -c 'trap "" HUP; $SHELL -c "(sleep 2;kill -HUP $$)& sleep 4;print done"') != done ]] &&…
367 sleep 3 | myfilter
413 got=$(print -n fore; (sleep 2;print back)&)
426 sleep=$(whence -p sleep)
429 done | while read sec; do ( $sleep $sec; $sleep $sec) done
435 sleep .1
[all …]
H A Dsubshell.sh111 sleep '$ss'
125 sleep 2
126 sleep '$ss'
186 sleep 32
213 sleep 2
385 { sleep 4; kill -9 $m; } &
426 { sleep 4; kill -9 $m; } &
443 sleep=$(whence -p sleep)
444 if [[ $sleep ]]
446 $SHELL -c "( $sleep 5 </dev/null >/dev/null 2>&1 & );exit 0" | cat
[all …]
/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleeptest.ksh19 # Basic tests of sleep(1). sleep is a little hard to test, especially
38 sleep_prog=/usr/bin/sleep
40 sleep_dscript=$sleep_dir/sleep.d
41 sleep_awk=$sleep_dir/sleep.awk
62 typeset test="sleep $min: bounding"
79 typeset test="sleep $arg: $secs secs $nsecs ns"
91 typeset test="negative test: sleep $*"
101 if [[ -n $SLEEP ]]; then
102 sleep_prog=$SLEEP
124 # implementation will do a sleep in groups of INT32_MAX at a time. So
[all …]
H A Dsleep.d17 * This is a companion DTrace script that is used by the sleep test. It
18 * checks if the executed program asks to sleep for the right amount of
20 * always uses the SIGALRM feature of sleep(1) to make sure that sleep
25 * in $2. This script should be invoked as dtrace -s sleep.d -c
26 * '/usr/bin/sleep <waittime>' <seconds> <nanoseconds>.
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_mr.c61 uint_t sleep, uint_t *dereg_level);
65 ddi_dma_handle_t dmahdl, uint_t sleep);
173 uint_t sleep, mr_is_umem; in tavor_mr_register_shared() local
177 * Check the sleep flag. Ensure that it is consistent with the in tavor_mr_register_shared()
179 * context, then we shouldn't be attempting to sleep). in tavor_mr_register_shared()
181 sleep = (mr_attr->mr_flags & IBT_MR_NOSLEEP) ? TAVOR_NOSLEEP : in tavor_mr_register_shared()
183 if ((sleep == TAVOR_SLEEP) && in tavor_mr_register_shared()
184 (sleep != TAVOR_SLEEPFLAG_FOR_CONTEXT())) { in tavor_mr_register_shared()
199 status = tavor_rsrc_alloc(state, TAVOR_MPT, 1, sleep, &mpt); in tavor_mr_register_shared()
210 status = tavor_rsrc_alloc(state, TAVOR_MRHDL, 1, sleep, &rsrc); in tavor_mr_register_shared()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_mr.c70 uint_t sleep, uint_t *dereg_level);
74 ddi_dma_handle_t dmahdl, uint_t sleep, uint_t is_buffer);
185 uint_t sleep, mr_is_umem; in hermon_mr_register_shared() local
189 * Check the sleep flag. Ensure that it is consistent with the in hermon_mr_register_shared()
191 * context, then we shouldn't be attempting to sleep). in hermon_mr_register_shared()
193 sleep = (mr_attr->mr_flags & IBT_MR_NOSLEEP) ? HERMON_NOSLEEP : in hermon_mr_register_shared()
195 if ((sleep == HERMON_SLEEP) && in hermon_mr_register_shared()
196 (sleep != HERMON_SLEEPFLAG_FOR_CONTEXT())) { in hermon_mr_register_shared()
212 status = hermon_rsrc_alloc(state, HERMON_DMPT, 1, sleep, &mpt); in hermon_mr_register_shared()
224 status = hermon_rsrc_alloc(state, HERMON_MRHDL, 1, sleep, &rsrc); in hermon_mr_register_shared()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h331 job_request_t *job, int flag, int sleep);
333 job_request_t *job, int cmd_flag, int sleep, fc_remote_port_t *pd,
349 fc_portmap_t *changelist, uint32_t listlen, uint32_t alloc_len, int sleep);
351 uint32_t listlen, uint32_t alloc_len, int sleep, int sync);
353 static void fp_ns_init(fc_local_port_t *port, job_request_t *job, int sleep);
356 uint16_t cmd_code, job_request_t *job, int polled, int sleep);
373 uchar_t scr_func, int sleep);
375 int create, int sleep);
404 job_request_t *job, int sleep);
406 job_request_t *job, int sleep);
[all …]
/illumos-gate/usr/src/man/man1/
H A Dsleep.153 .Nm sleep
56 .Nm sleep
102 If such a signal would interrupt the sleep, then the program may
122 example% \fB(sleep 105; \fIcommand\fR)&\fR
132 sleep 37
144 example% sleep Inf
155 example% sleep 0x1.0000000000000000000000000000p-01
175 .Xr sleep 3C ,
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6722134_background_CHLD_trap.sh65 sleep 5 &
66 sleep 7 &
69 sleep 1
90 ## (same as test "one" except that this test has one more "sleep" child)
98 sleep 5 &
99 sleep 7 &
100 sleep 9 &
103 sleep 1
/illumos-gate/usr/src/common/acpica/hardware/
H A Dhwxfsleep.c3 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces
176 * Dispatch table used to efficiently branch to the various sleep
383 * PARAMETERS: SleepState - Which sleep state to enter/exit in ACPI_EXPORT_SYMBOL()
384 * FunctionId - Sleep, WakePrep, or Wake in ACPI_EXPORT_SYMBOL()
386 * RETURN: Status from the invoked sleep handling function. in ACPI_EXPORT_SYMBOL()
388 * DESCRIPTION: Dispatch a sleep/wake request to the appropriate handling in ACPI_EXPORT_SYMBOL()
405 * use the extended sleep registers (FADT). Note: As per the ACPI in ACPI_EXPORT_SYMBOL()
408 * legacy PM register sleep support. in ACPI_EXPORT_SYMBOL()
416 /* Legacy sleep */ in ACPI_EXPORT_SYMBOL()
426 * we know that only the extended sleep registers are available in ACPI_EXPORT_SYMBOL()
[all …]
H A Dhwesleep.c3 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the
4 * extended FADT-V5 sleep registers.
169 * DESCRIPTION: Execute a sleep/wake related method with one integer argument
209 * PARAMETERS: SleepState - Which sleep state to enter
213 * DESCRIPTION: Enter a system sleep state via the extended FADT sleep
231 /* Extended sleep registers must be valid */ in AcpiHwExtendedSleep()
257 "Entering sleep state [S%u]\n", SleepState)); in AcpiHwExtendedSleep()
302 * PARAMETERS: SleepState - Which sleep state we just exited
307 * a sleep. Called with interrupts ENABLED.
341 * PARAMETERS: SleepState - Which sleep state we just exited
[all …]
/illumos-gate/usr/src/man/man3c/
H A Dsleep.3c47 .TH SLEEP 3C "Feb 5, 2008"
49 sleep \- suspend execution for an interval of time
55 \fBunsigned int\fR \fBsleep\fR(\fBunsigned int\fR \fIseconds\fR);
63 requested because any caught signal will terminate the \fBsleep()\fR following
66 activity in the system. The value returned by \fBsleep()\fR will be the
71 The use of the \fBsleep()\fR function has no effect on the action or blockage
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-sem.c35 fprintf(stderr, "sleep(%d) before %s\n", t, s);
37 sleep(t);
213 sleep(1);
228 sleep(1);
243 sleep(1);
258 sleep(1);
272 sleep(1);
289 sleep(1);
304 sleep(1);
379 sleep(1);
/illumos-gate/usr/src/cmd/lp/model/
H A Ddrain.output.c33 * The following macro computes the number of seconds to sleep
43 * - 0. Use this to avoid any extra sleep after waiting for the
46 * - N > 0. Use this to have a fixed sleep after flushing the
49 * The sleep period can be overridden by a single command line argument.
79 * Decide how long to sleep. in main()
95 sleep (sleep_time); in main()
/illumos-gate/usr/src/man/man9s/
H A Dusb_intr_req.9s125 no sleep IN ONE_XFER NULL 0 See table note (B)
127 no sleep IN ONE_XFER NULL !=0 See table note (C)
129 sleep IN ONE_XFER NULL 0 See table note (D)
131 sleep IN ONE_XFER NULL !=0 See table note (E)
139 no sleep OUT none !=NULL 0 See table note (F)
141 no sleep OUT none !=NULL !=0 See table note (G)
143 sleep OUT none !=NULL 0 See table note (H)
145 sleep OUT none !=NULL !=0 See table note (I)
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma.h75 hrtime_t cma_page_curdelay; /* Current retry sleep interval */
76 hrtime_t cma_page_mindelay; /* Minimum retry sleep interval */
77 hrtime_t cma_page_maxdelay; /* Maximum retry sleep interval */
78 id_t cma_page_timerid; /* fmd timer ID for retry sleep */
83 hrtime_t cma_cpu_curdelay; /* Current retry sleep interval */
84 hrtime_t cma_cpu_mindelay; /* Minimum retry sleep interval */
85 hrtime_t cma_cpu_maxdelay; /* Maximum retry sleep interval */
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dsetup.ksh46 sleep 1
49 sleep 1
52 sleep 1
56 # sleep to ensure that the datasets have different creation dates
57 sleep 1
/illumos-gate/usr/src/man/man3mail/
H A Dmaillock.3mail51 If the lockfile has been modified in the last 5 minutes the process will sleep
52 until the lock is available. The sleep algorithm is to sleep for 5 seconds
53 times the attempt number. That is, the first sleep will be for 5 seconds, the
54 next sleep will be for 10 seconds, etc. until the number of attempts reaches
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_psecflags.sh21 sleep 1
100 /usr/bin/psecflags -s aslr -e sleep 10000 &
117 /usr/bin/psecflags -s current,noexecstack -e sleep 10000 &
135 /usr/bin/psecflags -s current,-aslr -e sleep 10000 &
152 /usr/bin/psecflags -s all -e sleep 10000 &
167 /usr/bin/psecflags -s none -e sleep 10000 &
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnet.c155 (void) sleep(timeout); in xfer_file()
158 (void) sleep(timeout); in xfer_file()
172 (void) sleep(timeout); in xfer_file()
224 (void) sleep(timeout); in xfer_cfAfile()
229 (void) sleep(timeout); in xfer_cfAfile()
238 (void) sleep(timeout); in xfer_cfAfile()
342 (void) sleep(timeout); in netpr_send_message()
345 (void) sleep(timeout); in netpr_send_message()
354 (void) sleep(timeout); in netpr_send_message()
/illumos-gate/usr/src/lib/libdscp/svc/
H A Dsvc-dscp42 SLEEP=/bin/sleep
87 ${SLEEP} 5
92 ${SLEEP} 1
101 ${SLEEP} 1

12345678910>>...48