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

/xnu-2782.1.97/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...]
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dmakefile94 helpers : $(SRCSUBPATH)/helpers/sleep.c $(SRCSUBPATH)/helpers/launch.c $(SRCSUBPATH)/helpers/arch.c $(SRCSUBPATH)/helpers/data_exec.c helperdir $(OBJSUBPATH)/misc.o
97 $(CC) -g $(ARCH_32_FLAGS) $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-i386
98 /usr/bin/ditto $(SYMROOT)/sleep-i386 $(DSTROOT)/helpers/
108 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x100000000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4G
109 $(CC) -g $(ARCH_64_FLAGS) -pagezero_size 0x1000 $(SRCSUBPATH)/helpers/sleep.c -o $(SYMROOT)/sleep-x86_64-4K
111 /usr/bin/ditto $(SYMROOT)/sleep-x86_64-4G $(SYMROOT)/sleep
[all...]
H A Dcommpage_tests.c332 sleep(1);
344 sleep(1);
H A Dsched_tests.c80 sleep(1);
197 sleep(1);
H A Dmisc.c183 /* vfork then execve sleep system command (which we will kill from the parent process) */
192 * binaries, which just sleep for 120 seconds. Let our parent kill us.
210 sleep(killwait);
H A Dsocket_tests.c143 sleep(2);
H A Dtests.c2041 argvs[0] = "sleep-x86_64-4G";
2042 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
2045 argvs[0] = "sleep-x86_64-4K";
2046 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 1)) goto test_failed_exit;
2049 argvs[0] = "sleep-i386";
2050 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit;
2070 argvs[0] = "sleep-i386";
2071 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
2074 argvs[0] = "sleep-x86_64-4G";
2075 if (do_execve_test("helpers/sleep
[all...]
/xnu-2782.1.97/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...]
/xnu-2782.1.97/tools/tests/libMicro/
H A Dod_account_create.sh100 sleep 2
103 sleep 2
109 sleep 2
/xnu-2782.1.97/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,
/xnu-2782.1.97/tools/tests/memorystatus/
H A Dmemorystatus_groups.c368 sleep(delay_seconds);
387 sleep(delay_seconds);
582 sleep(5);
606 sleep(5);
H A Dmemorystatus.c199 new_interval = 500 * 1000; /* want sleep time in microseconds */
202 new_interval = 100 * 1000;/* want sleep time in microseconds */
569 sleep(secs - 1);
575 sleep(2);
602 sleep(secs - 1);
608 sleep(2);
/xnu-2782.1.97/iokit/Kernel/
H A DIOMapper.cpp68 void sleep(void *event) { IOLockSleep(fWaitLock, event, THREAD_UNINT); }; function in class:IOMapperLock
138 sMapperLock.sleep(&IOMapper::gSystem);
H A DIOPMrootDomain.cpp602 The Root Power Domain owns the policy for idle and demand sleep for the system.
606 The sleep policy is as follows:
609 2. Sleep is prevented if the sleep timeout slider in the prefs panel is zero.
626 changePowerStateToPriv(ON_STATE) to hold itself on until the sleep timer expires.
627 This timer is set for the difference between the sleep timeout slider and the
631 Demand sleep is prevented when the system is booting. When preferences are
1664 // Root domain is interested in system and display sleep slider changes.
1839 // The time between the sleep idle timeout and the next longest one has elapsed.
1840 // It's time to sleep. Start that by removing the clamp that's holding us awake.
1856 DLOG("sleep time
6842 const OSSymbol *sleep = NULL, *wake = NULL; local
[all...]
/xnu-2782.1.97/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.c1137 * have been "interrupted" from a "sleep" to act on
2026 * have been "interrupted" from a "sleep" to act on
2067 * For the other two cases, we compute the target sleep time
2072 goto sleep;
2084 goto sleep;
2144 goto sleep;
2147 sleep:
2377 * have been "interrupted" from a "sleep" to act on
2386 * output translation. Keep track of high water mark, sleep on
2922 * 3) The sleeper with the shortest sleep tim
[all...]
/xnu-2782.1.97/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c121 * Initialize an action struct. Whether to sleep, what action to take,
125 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...) argument
130 act->act_dosleep = sleep;
220 /* Let other thread get into kevent() sleep */
222 sleep(SLEEP_TIME);
447 sleep(5);
1459 sleep(2);
1468 sleep(2);
/xnu-2782.1.97/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
/xnu-2782.1.97/makedefs/
H A DMakeInc.cmd164 SLEEP = /bin/sleep
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h532 uint32_t __p_forw; /* Doubly-linked run/sleep queue. */
554 uint32_t p_wmesg; /* Reason for sleep. */
584 user_addr_t __p_forw; /* Doubly-linked run/sleep queue. */
606 user_addr_t p_wmesg; /* Reason for sleep. */
727 extern int sleep(void *chan, int pri);
/xnu-2782.1.97/bsd/netinet/
H A Dip_compat.h288 # define SLEEP(id, n) sleep((id), PZERO+1)
/xnu-2782.1.97/osfmk/kern/
H A Dsched_prim.c1086 DTRACE_SCHED(sleep);
1151 * sleep until the specified event occurs.
3643 * is going to sleep.
3905 * a running thread on it during processor shutdown (for sleep),

Completed in 207 milliseconds