bin/pkill/tests/spin_helper.c
107
sleep(1);
cddl/usr.sbin/zfsd/zfsd.cc
135
sleep(30);
crypto/heimdal/appl/ftp/ftp/ftp.c
1627
sleep (2);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1205
sleep(tries);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1319
sleep(swaitint);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
613
sleep(login_attempts);
crypto/heimdal/appl/kf/kfd.c
184
sleep(2); /* XXX give client time to finish */
crypto/heimdal/appl/login/shadow.c
76
sleep(1);
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
814
sleep(5);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1383
sleep(1);
crypto/heimdal/appl/telnet/telnetd/telnetd.c
1041
sleep(5);
crypto/heimdal/appl/telnet/telnetd/utility.c
362
sleep(1); /*XXX*/
crypto/heimdal/lib/hdb/hdb-sqlite.c
139
sleep(1);
crypto/heimdal/lib/hdb/hdb-sqlite.c
177
sleep(1);
crypto/heimdal/lib/hdb/hdb-sqlite.c
235
sleep(1);
crypto/heimdal/lib/hdb/hdb.c
149
sleep(1);
crypto/heimdal/lib/kadm5/ipropd_slave.c
619
sleep(left);
crypto/heimdal/lib/krb5/test_cc.c
732
sleep(60);
crypto/krb5/src/kprop/kpropd.c
717
sleep(backoff_time);
crypto/krb5/src/kprop/kpropd.c
738
sleep(backoff_time);
crypto/krb5/src/kprop/kpropd.c
976
sleep(backoff_time);
crypto/krb5/src/kprop/kpropd.c
982
sleep(pollin);
crypto/openssh/logintest.c
166
sleep(PAUSE_BEFORE_LOGOUT);
crypto/openssh/regress/netcat.c
837
sleep(iflag);
crypto/openssh/sshconnect.c
466
sleep(1);
crypto/openssl/crypto/cmp/cmp_client.c
279
static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid,
crypto/openssl/crypto/cmp/cmp_client.c
319
if (check_after < 0 || (uint64_t)check_after > (sleep ? ULONG_MAX / 1000 : INT_MAX)) {
crypto/openssl/crypto/cmp/cmp_client.c
366
if (sleep) {
crypto/openssl/crypto/cmp/cmp_client.c
666
static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid,
crypto/openssl/crypto/cmp/cmp_client.c
725
if ((ret = poll_for_response(ctx, sleep, rid, resp, checkAfter)) != 0) {
crypto/openssl/crypto/sleep.c
100
sleep(limited_secs);
crypto/openssl/crypto/sleep.c
36
sleep(s);
crypto/openssl/demos/bio/sconnect.c
112
sleep(1);
crypto/openssl/demos/bio/sconnect.c
93
sleep(1);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
153
extern void s$sleep(long *_duration, short int *_code);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
172
s$sleep(&duration, &code);
include/unistd.h
370
unsigned int sleep(unsigned int);
lib/libc/gen/sleep.c
66
__weak_reference(__sleep, sleep);
lib/libc/tests/stdio/eintr_test.c
107
sleep(DELAY);
lib/libc/tests/stdio/eintr_test.c
109
sleep(DELAY);
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
130
sleep(1);
lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
152
sleep(1);
lib/libcompat/4.3/rexec.c
319
sleep(timo);
lib/libipsec/test-policy.c
268
sleep(4);
lib/libipsec/test-policy.c
292
sleep(4);
lib/libthr/tests/pthread_tryjoin_test.c
25
sleep(1);
lib/libthr/tests/pthread_tryjoin_test.c
51
sleep(1);
lib/libutil/login_auth.c
103
sleep(5); /* wait an arbitrary time to drain */
libexec/comsat/comsat.c
196
(void)sleep(1);
libexec/comsat/comsat.c
92
sleep(1);
libexec/getty/main.c
279
sleep(DE);
libexec/getty/main.c
428
sleep(60);
libexec/getty/main.c
523
sleep(PF);
libexec/getty/subr.c
624
sleep(2); /* wait for connection to complete */
libexec/tftpd/tftp-io.c
122
sleep(t);
sbin/adjkerntz/adjkerntz.c
194
(void) sleep(REPORT_PERIOD);
sbin/adjkerntz/adjkerntz.c
246
(void) sleep(REPORT_PERIOD);
sbin/bsdlabel/bsdlabel.c
669
sleep(1);
sbin/camcontrol/camcontrol.c
6721
sleep(1);
sbin/camcontrol/camcontrol.c
6837
sleep(1);
sbin/camcontrol/camcontrol.c
6925
sleep(1);
sbin/dhclient/dhclient.c
469
sleep(1);
sbin/dhclient/dhclient.c
477
sleep(1);
sbin/dump/tape.c
350
sleep(10);
sbin/dump/tape.c
361
sleep (10);
sbin/dump/tape.c
578
sleep(4); /* allow time for parent's message to get out */
sbin/fsck/preen.c
326
sleep(10);
sbin/ggate/ggatec/ggatec.c
476
sleep(2);
sbin/ggate/ggated/ggated.c
687
sleep(1);
sbin/hastd/hastd.c
356
sleep(1);
sbin/hastd/primary.c
1073
sleep(1);
sbin/hastd/primary.c
1341
sleep(1);
sbin/hastd/primary.c
2089
sleep(1);
sbin/init/init.c
1007
sleep(1);
sbin/init/init.c
1130
sleep(STALL_TIMEOUT);
sbin/init/init.c
1138
sleep(STALL_TIMEOUT);
sbin/init/init.c
1516
sleep((unsigned) GETTY_SLEEP);
sbin/init/init.c
1521
sleep(WINDOW_WAIT);
sbin/init/init.c
1994
sleep(STALL_TIMEOUT);
sbin/init/init.c
464
sleep(STALL_TIMEOUT);
sbin/init/init.c
506
sleep(STALL_TIMEOUT);
sbin/init/init.c
962
sleep(STALL_TIMEOUT);
sbin/ipf/ipfsync/ipfsyncd.c
197
sleep(1 << tries);
sbin/ipf/ipfsync/ipsyncm.c
138
sleep(1);
sbin/ipf/ipfsync/ipsyncm.c
237
sleep(1);
sbin/ipf/ipfsync/ipsyncs.c
156
sleep(1);
sbin/ipf/ipfsync/ipsyncs.c
256
sleep(1);
sbin/ipf/ipmon/ipmon.c
1841
sleep(1);
sbin/ipf/ipsend/arp.c
107
sleep(1);
sbin/ipf/ipsend/sock.c
305
sleep(2);
sbin/natd/natd.c
308
sleep(1);
sbin/natd/natd.c
653
sleep(1);
sbin/nvmecontrol/sanitize.c
203
sleep(delay);
sbin/pfctl/pfctl_qstats.c
121
sleep(STAT_INTERVAL);
sbin/ping/ping6.c
1184
sleep(1);
sbin/reboot/reboot.c
490
sleep(2);
sbin/reboot/reboot.c
495
sleep(3);
sbin/reboot/reboot.c
512
(void)sleep(2 * i);
sbin/route/route.c
1453
sleep(1);
sbin/route/route.c
519
sleep(1);
sbin/setkey/setkey.c
399
sleep(1);
sbin/shutdown/shutdown.c
277
(void)sleep((u_int)(offset - tp->timeleft));
sbin/shutdown/shutdown.c
288
(void)sleep(sltime);
sbin/shutdown/shutdown.c
298
(void)sleep((u_int)tp->timetowait);
share/examples/libvgl/demo.c
101
sleep(2);
share/examples/libvgl/demo.c
103
sleep(5);
share/examples/libvgl/demo.c
78
sleep(2);
share/examples/libvgl/demo.c
81
sleep(2);
share/examples/libvgl/demo.c
84
sleep(2);
share/examples/libvgl/demo.c
87
sleep(2);
share/examples/libvgl/demo.c
98
sleep(2);
share/examples/perfmon/perfmon.c
138
sleep(sleeptime);
share/examples/ses/srcs/chpmon.c
122
sleep(delay);
share/examples/ses/srcs/sesd.c
173
sleep(polltime);
sys/cam/cam_xpt.c
244
static void xpt_run_allocq(struct cam_periph *periph, int sleep);
sys/cam/cam_xpt.c
3250
xpt_run_allocq(struct cam_periph *periph, int sleep)
sys/cam/cam_xpt.c
3271
if (sleep) {
sys/dev/bxe/ecore_hsi.h
12335
uint8_t sleep /* Measure including a thread sleep */;
sys/dev/bxe/ecore_hsi.h
12343
uint8_t sleep /* Measure including a thread sleep */;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
123
static int smi_read(device_t dev, uint16_t addr, uint16_t *data, int sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
124
static int smi_write(device_t dev, uint16_t addr, uint16_t data, int sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
125
static int smi_rmw(device_t dev, uint16_t addr, uint16_t mask, uint16_t data, int sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
433
smi_acquire(struct rtl8366rb_softc *sc, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
436
if (sleep == RTL_WAITOK)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
445
sleep == RTL_WAITOK ? IIC_WAIT : IIC_DONTWAIT);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
454
smi_release(struct rtl8366rb_softc *sc, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
456
if (sleep == RTL_WAITOK)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
469
smi_select(device_t dev, int op, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
498
if (sleep == RTL_WAITOK) {
sys/dev/etherswitch/rtl8366/rtl8366rb.c
508
smi_read_locked(struct rtl8366rb_softc *sc, uint16_t addr, uint16_t *data, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
520
err = smi_select(sc->dev, RTL_IICBUS_READ, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
537
smi_write_locked(struct rtl8366rb_softc *sc, uint16_t addr, uint16_t data, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
552
err = smi_select(sc->dev, RTL_IICBUS_WRITE, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
561
smi_read(device_t dev, uint16_t addr, uint16_t *data, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
568
err = smi_acquire(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
571
err = smi_read_locked(sc, addr, data, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
572
smi_release(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
578
smi_write(device_t dev, uint16_t addr, uint16_t data, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
585
err = smi_acquire(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
588
err = smi_write_locked(sc, addr, data, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
589
smi_release(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
595
smi_rmw(device_t dev, uint16_t addr, uint16_t mask, uint16_t data, int sleep)
sys/dev/etherswitch/rtl8366/rtl8366rb.c
603
err = smi_acquire(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
607
err = smi_read_locked(sc, addr, &oldv, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
612
err = smi_write_locked(sc, addr, newv, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
615
smi_release(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
825
int err, i, sleep;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
835
sleep = RTL_WAITOK;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
836
err = smi_acquire(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
840
err = smi_write_locked(sc, RTL8366_PACR, RTL8366_PACR_READ, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
842
err = smi_write_locked(sc, RTL8366_PHYREG(phy, 0, reg), 0, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
844
err = smi_read_locked(sc, RTL8366_PADR, &data, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
851
smi_release(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
860
int err, i, sleep;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
868
sleep = RTL_WAITOK;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
869
err = smi_acquire(sc, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
873
err = smi_write_locked(sc, RTL8366_PACR, RTL8366_PACR_WRITE, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
875
err = smi_write_locked(sc, RTL8366_PHYREG(phy, 0, reg), data, sleep);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
883
smi_release(sc, sleep);
sys/dev/ice/ice_osdep.c
286
ice_usec_delay(uint32_t time, bool sleep)
sys/dev/ice/ice_osdep.c
288
if (sleep && THREAD_CAN_SLEEP())
sys/dev/ice/ice_osdep.c
304
ice_msec_delay(uint32_t time, bool sleep)
sys/dev/ice/ice_osdep.c
306
if (sleep && THREAD_CAN_SLEEP())
sys/dev/ice/ice_osdep.h
165
void ice_usec_delay(uint32_t time, bool sleep);
sys/dev/ice/ice_osdep.h
166
void ice_msec_delay(uint32_t time, bool sleep);
sys/dev/irdma/irdma_kcompat.c
468
struct irdma_sc_ah *sc_ah, bool sleep)
sys/dev/irdma/irdma_kcompat.c
472
if (!sleep) {
sys/dev/irdma/irdma_kcompat.c
546
bool sleep = (flags & RDMA_CREATE_AH_SLEEPABLE) != 0;
sys/dev/irdma/irdma_kcompat.c
604
sleep, NULL, sc_ah);
sys/dev/irdma/irdma_kcompat.c
610
err = irdma_create_ah_wait(rf, sc_ah, sleep);
sys/dev/iwn/if_iwnreg.h
1700
uint32_t sleep;
sys/dev/mpi3mr/mpi3mr.c
3279
goto sleep;
sys/dev/mpi3mr/mpi3mr.c
3286
goto sleep;
sys/dev/mpi3mr/mpi3mr.c
3302
goto sleep;
sys/dev/mpi3mr/mpi3mr.c
3340
sleep:
sys/dev/usb/wlan/if_rum.c
880
int sleep;
sys/dev/usb/wlan/if_rum.c
890
sleep = sc->sc_sleeping;
sys/dev/usb/wlan/if_rum.c
893
if (!sleep)
sys/dev/usb/wlan/if_rum.c
933
rum_set_power_state(struct rum_softc *sc, int sleep)
sys/dev/usb/wlan/if_rum.c
940
sleep ? "sleep" : "awake", sc->sc_sleep_time);
sys/dev/usb/wlan/if_rum.c
943
sleep ? RT2573_MCU_SLEEP : RT2573_MCU_WAKEUP);
sys/dev/usb/wlan/if_rum.c
951
sc->sc_sleeping = !!sleep;
sys/dev/usb/wlan/if_rum.c
952
sc->sc_sleep_end = sleep ? ticks + sc->sc_sleep_time : 0;
sys/dev/vnic/nicvf_main.c
838
int sleep = 2;
sys/dev/vnic/nicvf_main.c
852
DELAY(sleep * 1000);
sys/dev/vnic/nicvf_main.c
856
timeout -= sleep;
sys/dev/wpi/if_wpireg.h
785
uint32_t sleep;
sys/geom/journal/g_journal.c
2100
goto sleep;
sys/geom/journal/g_journal.c
2102
goto sleep;
sys/geom/journal/g_journal.c
2118
sleep:
sys/kern/kern_thread.c
1522
thread_check_susp(struct thread *td, bool sleep)
sys/kern/kern_thread.c
1540
error = sleep ? thread_suspend_check(0) : ERESTART;
sys/kern/kern_umtx.c
3175
goto sleep;
sys/kern/kern_umtx.c
3196
sleep:
sys/kern/kern_umtx.c
3366
goto sleep;
sys/kern/kern_umtx.c
3386
sleep:
sys/kern/sched_4bsd.c
1874
SLOT(sleep),
sys/kern/sched_shim.c
63
DEFINE_SHIM2(sleep, void, sched_sleep, struct thread *, td, int, prio)
sys/kern/sched_ule.c
3417
SLOT(sleep),
sys/kern/subr_sleepqueue.c
178
SDT_PROBE_DECLARE(sched, , , sleep);
sys/kern/subr_sleepqueue.c
606
SDT_PROBE0(sched, , , sleep);
sys/kern/subr_turnstile.c
173
SDT_PROBE_DEFINE(sched, , , sleep);
sys/kern/subr_turnstile.c
813
SDT_PROBE0(sched, , , sleep);
sys/sys/proc.h
1250
int thread_check_susp(struct thread *td, bool sleep);
sys/sys/sched.h
294
void (*sleep)(struct thread *td, int prio);
tests/sys/capsicum/capmode.cc
716
sleep(1);
tests/sys/capsicum/linux.cc
221
sleep(1); // Allow child to write
tests/sys/capsicum/linux.cc
454
sleep(1);
tests/sys/capsicum/linux.cc
729
sleep(1);
tests/sys/capsicum/linux.cc
742
sleep(2);
tests/sys/capsicum/linux.cc
770
sleep(1);
tests/sys/capsicum/linux.cc
777
sleep(2);
tests/sys/capsicum/linux.cc
790
sleep(1);
tests/sys/capsicum/linux.cc
822
sleep(2);
tests/sys/capsicum/linux.cc
857
sleep(1);
tests/sys/capsicum/mqueue.cc
80
sleep(1); // Give the notification a chance to arrive.
tests/sys/capsicum/procdesc.cc
720
sleep(1);
tests/sys/capsicum/procdesc.cc
945
while (true) sleep(1);
tests/sys/capsicum/sctp.cc
108
sleep(1);
tests/sys/capsicum/sctp.cc
111
sleep(1);
tests/sys/capsicum/sctp.cc
119
sleep(2);
tests/sys/capsicum/smoketest.c
61
sleep(1);
tests/sys/capsicum/smoketest.c
75
sleep(lifetime);
tests/sys/capsicum/waittest.c
19
sleep(1);
tests/sys/capsicum/waittest.c
23
sleep(2); // Allow child to complete
tests/sys/cddl/zfs/bin/dir_rd_update.c
109
(void) sleep(1);
tests/sys/cddl/zfs/bin/dir_rd_update.c
96
(void) sleep(1);
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
142
(void) sleep(1);
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
156
sleep(2);
tests/sys/fifo/fifo_create.c
111
sleep(2);
tests/sys/fifo/fifo_open.c
145
sleep(1);
tests/sys/fifo/fifo_open.c
250
sleep(5);
tests/sys/fifo/fifo_open.c
325
sleep(5);
tests/sys/file/flock_helper.c
1003
sleep(1);
tests/sys/file/flock_helper.c
1502
sleep(1);
tests/sys/file/flock_helper.c
449
sleep(1);
tests/sys/file/flock_helper.c
552
sleep(1);
tests/sys/file/newfileops_on_fork_test.c
119
sleep(1); /* Easier than using a CV. */
tests/sys/file/path_test.c
300
(void)sleep(1);
tests/sys/fs/fusefs/interrupt.cc
148
void setup_interruptor(pthread_t target, bool sleep = false)
tests/sys/fs/fusefs/interrupt.cc
151
killer_should_sleep = sleep;
tests/sys/kern/fdgrowtable_test.c
155
sleep(1);
tests/sys/kern/kcov.c
319
sleep(0);
tests/sys/kern/kcov.c
356
sleep(0);
tests/sys/kern/kcov.c
425
sleep(0);
tests/sys/kern/listener_wakeup.c
217
ctx->result = sleep_syscalls[ctx->test->sleep](ctx->s);
tests/sys/kern/listener_wakeup.c
273
"expected %d, got %d", pr->name, t->sleep, t->wakeup,
tests/sys/kern/listener_wakeup.c
65
} sleep;
tests/sys/kern/ptrace_test.c
1402
sleep(60);
tests/sys/kern/ptrace_test.c
1981
sleep(60);
tests/sys/kern/ptrace_test.c
2045
sleep(60);
tests/sys/kern/ptrace_test.c
2638
sleep(20);
tests/sys/kern/ptrace_test.c
3272
sleep(60);
tests/sys/kern/ptrace_test.c
3326
sleep(60);
tests/sys/kern/ptrace_test.c
3549
sleep(1);
tests/sys/kern/ptrace_test.c
3560
sleep(1);
tests/sys/kern/ptrace_test.c
4187
sleep(2);
tests/sys/kern/ptrace_test.c
4439
sleep(10);
tests/sys/kern/ptrace_test.c
4509
sleep(2);
tests/sys/kern/socket_splice.c
702
sleep(100);
tests/sys/kern/unix_stream.c
498
struct timespec tp1, tp2, rtp, sleep = { .tv_nsec = 100000000 };
tests/sys/kern/unix_stream.c
504
&(struct timeval){ .tv_usec = sleep.tv_nsec / 1000 },
tests/sys/kern/unix_stream.c
511
ATF_REQUIRE(timespeccmp(&rtp, &sleep, >=));
tests/sys/kern/waitpid_nohang.c
43
sleep(10);
tests/sys/kqueue/libkqueue/proc.c
118
if (sleep_time) sleep(sleep_time);
tests/sys/kqueue/libkqueue/proc.c
126
if (sleep_time) sleep(sleep_time);
tests/sys/kqueue/libkqueue/proc.c
62
sleep(1);
tests/sys/kqueue/libkqueue/proc.c
67
sleep(1);
tests/sys/kqueue/libkqueue/timer.c
144
sleep(3);
tests/sys/kqueue/libkqueue/timer.c
171
sleep(1);
tests/sys/kqueue/libkqueue/timer.c
207
sleep(1);
tests/sys/kqueue/libkqueue/timer.c
241
sleep(1);
tests/sys/kqueue/libkqueue/timer.c
250
sleep(1);
tests/sys/kqueue/libkqueue/timer.c
319
sleep(3);
tests/sys/kqueue/libkqueue/timer.c
391
sleep(3);
tests/sys/kqueue/libkqueue/timer.c
430
sleep(3);
tests/sys/kqueue/libkqueue/timer.c
598
sleep(1);
tests/sys/kqueue/libkqueue/vnode.c
96
sleep(1);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
443
sleep(1);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
473
sleep(1);
tools/regression/capsicum/syscalls/cap_fcntls_limit.c
502
sleep(1);
tools/regression/capsicum/syscalls/cap_getmode.c
140
sleep(1);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
356
sleep(1);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
391
sleep(1);
tools/regression/capsicum/syscalls/cap_ioctls_limit.c
425
sleep(1);
tools/regression/netinet/tcpdrop/tcpdrop.c
101
sleep (10);
tools/regression/netinet/tcpdrop/tcpdrop.c
128
sleep(1);
tools/regression/netinet/tcpdrop/tcpdrop.c
177
sleep(5);
tools/regression/netinet/tcpdrop/tcpdrop.c
184
sleep(5);
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
101
sleep(10);
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
121
sleep(1);
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
159
sleep(2);
tools/regression/netinet/tcpsockclosebeforeaccept/tcpsockclosebeforeaccept.c
184
sleep(5);
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
103
sleep(secs);
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
168
sleep(5);
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
73
sleep(1);
tools/regression/netinet/udpzerobyte/udpzerobyte.c
91
(void)sleep(1);
tools/regression/posixsem2/semtest.c
40
sleep(1);
tools/regression/posixsem2/semtest.c
80
sleep(1);
tools/regression/priv/priv_sched_rtprio.c
94
sleep(1);
tools/regression/priv/priv_sched_rtprio.c
97
sleep(1); /* Allow dummy thread to change uids. */
tools/regression/priv/priv_sched_setpriority.c
85
sleep(1);
tools/regression/priv/priv_sched_setpriority.c
88
sleep(1); /* Allow dummy thread to change uids. */
tools/regression/pthread/cv_cancel1/cv_cancel1.c
65
sleep(1);
tools/regression/pthread/unwind/cond_wait_cancel.cpp
33
sleep(1);
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
50
sleep(1);
tools/regression/pthread/unwind/sem_wait_cancel.cpp
29
sleep(1);
tools/regression/security/cap_test/cap_test_pdkill.c
72
sleep(3600);
tools/regression/security/proc_to_proc/scenario.c
287
sleep(200);
tools/regression/security/proc_to_proc/scenario.c
302
sleep(1);
tools/regression/sigqueue/sigqtest2/sigqtest2.c
57
sleep(2);
tools/regression/sigqueue/sigqtest2/sigqtest2.c
62
sleep(1);
tools/regression/sockets/pr_atomic/pr_atomic.c
88
sleep(5);
tools/regression/sockets/sblock/sblock.c
117
if (sleep(2) != 0) {
tools/regression/sockets/sblock/sblock.c
125
if (sleep(1) != 0) {
tools/regression/sockets/sblock/sblock.c
142
if (sleep(1) != 0) {
tools/regression/sockets/sblock/sblock.c
96
if (sleep(1) != 0)
tools/regression/sockets/sigpipe/sigpipe.c
235
sleep(1); /* Time for TCP to settle. */
tools/regression/sockets/sigpipe/sigpipe.c
242
sleep(1); /* Time for TCP to settle. */
tools/regression/sockets/unix_close_race/unix_close_race.c
105
sleep(1);
tools/regression/sockets/unix_gc/unix_gc.c
250
sleep(1);
tools/regression/sockets/unix_gc/unix_gc.c
676
sleep(1);
tools/regression/sockets/unix_gc/unix_gc.c
708
sleep(1);
tools/regression/sockets/unix_gc/unix_gc.c
711
sleep(1);
tools/regression/sockets/unix_gc/unix_gc.c
743
sleep(1);
tools/regression/sockets/unix_sendtorace/unix_sendtorace.c
119
sleep(1);
tools/regression/sockets/unix_sendtorace/unix_sendtorace.c
122
sleep(1);
tools/regression/sockets/unix_sendtorace/unix_sendtorace.c
192
sleep(1);
tools/regression/sockets/unix_sendtorace/unix_sendtorace.c
195
sleep(1);
tools/regression/sockets/unix_sendtorace/unix_sendtorace.c
61
sleep(1);
tools/regression/sockets/unix_sorflush/unix_sorflush.c
82
sleep(1);
tools/regression/sockets/unix_sorflush/unix_sorflush.c
91
sleep(1);
tools/regression/sockets/unix_sorflush/unix_sorflush.c
94
sleep(1);
tools/regression/sockets/zerosend/zerosend.c
156
if (sleep(1) != 0)
tools/regression/sockets/zerosend/zerosend.c
161
if (sleep(1) != 0)
tools/regression/sysvsem/semtest.c
336
sleep(1);
tools/regression/tls/ttls2/ttls2.c
14
sleep(1);
tools/regression/tls/ttls2/ttls2.c
25
sleep(1);
tools/regression/tls/ttls4/ttls4.c
36
sleep(2);
tools/test/stress2/lib/main.c
108
sleep(random_int(1,10));
tools/test/stress2/lib/main.c
169
sleep(1);
tools/test/stress2/lib/main.c
64
sleep(5);
tools/test/stress2/lib/options.c
256
sleep(1);
tools/test/stress2/testcases/sysctl/sysctl.c
59
sleep(1);
tools/test/stress2/testcases/tcp/tcp.c
129
sleep(1);
tools/tools/ath/athsurvey/athsurvey.c
207
sleep(1);
tools/tools/iwn/iwnstats/main.c
222
le32toh(stats->general.sleep),
tools/tools/mcgrab/mcgrab.cc
141
sleep(INT_MAX);
tools/tools/netmap/bridge.c
298
sleep(wait_link);
tools/tools/netmap/bridge.c
94
sleep(2);
tools/tools/netmap/lb.c
236
sleep(1);
tools/tools/netmap/lb.c
867
sleep(glob_arg.wait_link);
tools/tools/netmap/nmreplay.c
1256
sleep(1);
tools/tools/netmap/nmreplay.c
1261
sleep(1);
tools/tools/netmap/nmreplay.c
1274
sleep(1);
tools/tools/netmap/pkt-gen.c
2695
sleep(g->wait_link);
tools/tools/netrate/http/http.c
175
sleep(100);
tools/tools/netrate/http/http.c
330
sleep(2);
tools/tools/netrate/http/http.c
333
sleep(numseconds);
tools/tools/netrate/http/http.c
336
sleep(2);
tools/tools/netrate/tcpp/tcpp_server.c
316
sleep(10);
usr.bin/chat/chat.c
1113
sleep(1);
usr.bin/ctlstat/ctlstat.c
1001
sleep(waittime);
usr.bin/env/env.c
204
sleep(1);
usr.bin/fetch/fetch.c
1217
sleep(w_secs);
usr.bin/fetch/fetch.c
842
sleep(w_secs);
usr.bin/fortune/fortune/fortune.c
198
sleep((unsigned int) max(Fort_len / CPERS, MINW));
usr.bin/iscsictl/iscsictl.c
599
sleep(1);
usr.bin/kdump/kdump.c
548
sleep(1);
usr.bin/leave/leave.c
145
sleep((u_int)2); /* let parent print set message */
usr.bin/leave/leave.c
156
sleep(secs - FIVEMIN);
usr.bin/leave/leave.c
165
sleep(secs - ONEMIN);
usr.bin/leave/leave.c
172
sleep((u_int)ONEMIN);
usr.bin/lock/lock.c
246
sleep(1); /* to discourage guessing */
usr.bin/login/login.c
1001
(void)sleep(sec);
usr.bin/login/login.c
370
sleep((u_int)((cnt - backoff) * 5));
usr.bin/nfsstat/nfsstat.c
1136
sleep(interval);
usr.bin/nfsstat/nfsstat.c
1255
sleep(interval);
usr.bin/procstat/procstat.c
538
sleep(interval);
usr.bin/systat/vmstat.c
398
sleep(5);
usr.bin/tip/libacu/biz22.c
118
sleep(2);
usr.bin/tip/libacu/biz31.c
121
sleep(2);
usr.bin/tip/libacu/biz31.c
229
sleep(1);
usr.bin/tip/libacu/biz31.c
236
sleep(2);
usr.bin/tip/libacu/courier.c
120
sleep(1);
usr.bin/tip/libacu/courier.c
272
sleep(1);
usr.bin/tip/libacu/courier.c
288
sleep(1);
usr.bin/tip/libacu/courier.c
290
sleep(1);
usr.bin/tip/libacu/courier.c
296
sleep(1);
usr.bin/tip/libacu/courier.c
86
sleep(1);
usr.bin/tip/libacu/df.c
114
sleep(1);
usr.bin/tip/libacu/df.c
96
sleep(1);
usr.bin/tip/libacu/dn11.c
124
sleep(2);
usr.bin/tip/libacu/dn11.c
133
sleep(2);
usr.bin/tip/libacu/dn11.c
76
sleep(2);
usr.bin/tip/libacu/hayes.c
146
sleep(1);
usr.bin/tip/libacu/hayes.c
251
sleep(1);
usr.bin/tip/libacu/hayes.c
263
sleep(1);
usr.bin/tip/libacu/hayes.c
272
sleep(1);
usr.bin/tip/libacu/hayes.c
295
sleep(1);
usr.bin/tip/libacu/t3000.c
121
sleep(1);
usr.bin/tip/libacu/t3000.c
287
sleep(2);
usr.bin/tip/libacu/t3000.c
306
sleep(1);
usr.bin/tip/libacu/t3000.c
308
sleep(1);
usr.bin/tip/libacu/t3000.c
314
sleep(1);
usr.bin/tip/libacu/t3000.c
87
sleep(1);
usr.bin/tip/libacu/v3451.c
137
for (; *cp; sleep(delay), cp++)
usr.bin/tip/libacu/v3451.c
74
sleep(1);
usr.bin/tip/libacu/v831.c
129
sleep(2);
usr.bin/tip/libacu/v831.c
150
sleep(2);
usr.bin/tip/libacu/v831.c
215
sleep(1);
usr.bin/tip/libacu/v831.c
82
sleep(2);
usr.bin/tip/libacu/ventel.c
225
sleep(1);
usr.bin/tip/libacu/ventel.c
236
sleep(2);
usr.bin/tip/libacu/ventel.c
247
sleep(1);
usr.bin/tip/tip/cmds.c
314
sleep(5); /* wait for remote stty to take effect */
usr.bin/tip/tip/cmds.c
673
sleep(5);
usr.bin/tip/tip/cmds.c
894
sleep(1);
usr.bin/tip/tip/tip.c
384
sleep(1);
usr.bin/top/top.c
270
sleep(2);
usr.bin/top/top.c
589
sleep(3 * warnings);
usr.sbin/cron/cron/do_command.c
315
sleep(random() % Jitter);
usr.sbin/cron/crontab/crontab.c
618
sleep(1);
usr.sbin/diskinfo/diskinfo.c
357
sleep(1);
usr.sbin/edquota/edquota.c
336
sleep(3);
usr.sbin/edquota/edquota.c
342
sleep(3);
usr.sbin/edquota/edquota.c
346
sleep(3);
usr.sbin/edquota/edquota.c
349
sleep(1);
usr.sbin/edquota/edquota.c
431
sleep(1);
usr.sbin/gstat/gstat.c
590
sleep(1);
usr.sbin/inetd/inetd.c
571
sleep(1);
usr.sbin/inetd/inetd.c
717
sleep(1);
usr.sbin/inetd/inetd.c
762
sleep(1);
usr.sbin/kbdmap/kbdmap.c
828
sleep(2);
usr.sbin/lpr/common_source/net.c
124
sleep(timo);
usr.sbin/lpr/common_source/net.c
156
sleep(timo);
usr.sbin/lpr/common_source/rmjob.c
174
sleep(i);
usr.sbin/lpr/lpd/lpd.c
850
sleep(2); /* a paranoid throttling measure */
usr.sbin/lpr/lpd/printjob.c
1150
sleep(5 * 60);
usr.sbin/lpr/lpd/printjob.c
1276
amtslept += MINWAIT_4DATA - sleep(MINWAIT_4DATA);
usr.sbin/lpr/lpd/printjob.c
1303
amtslept += sleepreq - sleep(sleepreq);
usr.sbin/lpr/lpd/printjob.c
1311
amtslept += sleepreq - sleep(sleepreq);
usr.sbin/lpr/lpd/printjob.c
1645
sleep((unsigned)(i*i));
usr.sbin/lpr/lpd/printjob.c
1688
sleep(1); /* throttle errors, as a safety measure */
usr.sbin/lpr/lpd/printjob.c
1871
sleep(i);
usr.sbin/lpr/lpd/printjob.c
1898
sleep(i);
usr.sbin/lpr/lpd/printjob.c
1941
sleep(i);
usr.sbin/lpr/lpd/recvjob.c
463
sleep(2); /* a paranoid throttling measure */
usr.sbin/mtest/mtest.c
414
sleep(n);
usr.sbin/ndp/ndp.c
833
sleep(opts.repeat);
usr.sbin/ndp/ndp_netlink.c
391
sleep(opts.repeat);
usr.sbin/newsyslog/newsyslog.c
2133
sleep(secs);
usr.sbin/newsyslog/newsyslog.c
2222
sleep(fcount * 12);
usr.sbin/newsyslog/newsyslog.c
372
sleep(10);
usr.sbin/route6d/route6d.c
2614
sleep(1);
usr.sbin/rpc.lockd/lockd.c
884
sleep(2);
usr.sbin/rpc.lockd/lockd_lock.c
228
sleep(debugdelay);
usr.sbin/rpc.statd/file.c
360
if (attempts < 10) sleep(5);
usr.sbin/rpc.statd/file.c
361
else if (attempts < 20) sleep(60);
usr.sbin/rpc.statd/file.c
362
else sleep(60*60);
usr.sbin/rtadvd/rtadvd.c
404
sleep(1);
usr.sbin/rwhod/rwhod.c
525
sleep(SL_INTERVAL);
usr.sbin/uathload/uathload.c
236
sleep(1);
usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
535
sleep(5);
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
273
sleep(2);
usr.sbin/watchdogd/watchdogd.c
354
sleep(nap - waited);