Searched refs:sleep (Results 1 - 22 of 22) sorted by relevance

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/
H A Dsleep.c5 sleep(120);
H A Dlaunch.c43 argvs[0] = "sleep-i386";
44 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
47 argvs[0] = "sleep-x86_64-4G";
48 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit;
51 argvs[0] = "sleep-x86_64-4K";
52 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit;
62 argvs[0] = "sleep-x86_64-4G";
63 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
66 argvs[0] = "sleep-x86_64-4K";
67 if (do_execve_test("helpers/sleep
[all...]
/darwin-on-arm/xnu/tools/lockstat/
H A Dlockstat.c169 sleep(arg2);
182 sleep(arg2);
191 sleep(arg2);
200 sleep(arg2);
213 sleep(arg2);
242 sleep(arg2);
248 sleep(arg2);
255 sleep(arg2);
262 sleep(arg2);
278 sleep(arg
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dod_account_create.sh100 sleep 2
103 sleep 2
109 sleep 2
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmakefile108 helpers : helpers/sleep.c helpers/launch.c helpers/arch.c helpers/data_exec.c helperdir $(OBJROOT)/misc.o
110 $(CC) -arch i386 helpers/sleep.c -o $(DSTROOT)/helpers/sleep-i386
113 $(CC) -arch x86_64 -pagezero_size 0x100000000 helpers/sleep.c -o $(DSTROOT)/helpers/sleep-x86_64-4G
114 $(CC) -arch x86_64 -pagezero_size 0x1000 helpers/sleep.c -o $(DSTROOT)/helpers/sleep-x86_64-4K
127 $(CC) $(CFLAGS) helpers/sleep.c -o $(DSTROOT)/helpers/sleep-arm
H A Dcommpage_tests.c334 sleep(1);
346 sleep(1);
H A Dsched_tests.c80 sleep(1);
197 sleep(1);
H A Dmisc.c180 /* vfork then execve sleep system command (which we will kill from the parent process) */
189 * binaries, which just sleep for 120 seconds. Let our parent kill us.
207 sleep(killwait);
H A Dmemory_tests.c403 sleep(5);
H A Dsocket_tests.c143 sleep(2);
H A Dtests.c2058 argvs[0] = "sleep-x86_64-4G";
2059 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
2062 argvs[0] = "sleep-x86_64-4K";
2063 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 1)) goto test_failed_exit;
2066 argvs[0] = "sleep-i386";
2067 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit;
2087 argvs[0] = "sleep-i386";
2088 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
2091 argvs[0] = "sleep-x86_64-4G";
2092 if (do_execve_test("helpers/sleep
[all...]
/darwin-on-arm/xnu/iokit/Tests/
H A DTestDevice.cpp48 TestDevice::enqueueCommand(bool sleep, argument
51 return commQ->enqueueCommand(sleep, (void *) act, (void *) tag, dataP);
H A DTests.h94 kern_return_t enqueueCommand(bool sleep,
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMapper.cpp68 void sleep(void *event) { IOLockSleep(fWaitLock, event, THREAD_UNINT); }; function in class:IOMapperLock
138 sMapperLock.sleep(&IOMapper::gSystem);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_synch.c136 * pri<=PZERO a signal cannot disturb the sleep;
138 * If pri&PCATCH is set, signals will cause sleep
308 sleep( function
H A Dtty.c1114 * have been "interrupted" from a "sleep" to act on
1994 * have been "interrupted" from a "sleep" to act on
2035 * For the other two cases, we compute the target sleep time
2040 goto sleep;
2052 goto sleep;
2112 goto sleep;
2115 sleep:
2345 * have been "interrupted" from a "sleep" to act on
2354 * output translation. Keep track of high water mark, sleep on
2890 * 3) The sleeper with the shortest sleep tim
[all...]
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c120 * Initialize an action struct. Whether to sleep, what action to take,
124 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...) argument
129 act->act_dosleep = sleep;
219 /* Let other thread get into kevent() sleep */
221 sleep(SLEEP_TIME);
446 sleep(5);
1458 sleep(2);
1467 sleep(2);
/darwin-on-arm/xnu/tools/tests/jitter/
H A Dtimer_jitter.c80 printf("Usage: jitter [-w] [-s <random seed>] [-n <min sleep, ns>] [-m <max sleep, ns>] <realtime | timeshare | fixed> <num iterations> <traceworthy jitter, ns>\n");
152 /* Now use the random number to sleep amount within the window */
347 sleep(1); /* Time for other thread to start up */
359 * try to sleep exactly that long
443 * try to sleep exactly that long
/darwin-on-arm/xnu/tools/tests/zero-to-n/
H A Dzero-to-n.c227 * When the last thread finishes, everyone gets to go back to sleep.
487 sleep(1);
543 /* Let worker threads get back to sleep... */
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h492 uint32_t __p_forw; /* Doubly-linked run/sleep queue. */
514 uint32_t p_wmesg; /* Reason for sleep. */
544 user_addr_t __p_forw; /* Doubly-linked run/sleep queue. */
566 user_addr_t p_wmesg; /* Reason for sleep. */
687 extern int sleep(void *chan, int pri);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_compat.h288 # define SLEEP(id, n) sleep((id), PZERO+1)
/darwin-on-arm/xnu/osfmk/kern/
H A Dsched_prim.c1055 DTRACE_SCHED(sleep);
1120 * sleep until the specified event occurs.
1216 * This is the simple lock sleep interface for components that use a
1244 * This is the simple lock sleep interface for components where

Completed in 130 milliseconds