/xnu-2782.1.97/tools/tests/xnu_quick_test/helpers/ |
H A D | sleep.c | 5 sleep(120);
|
H A D | launch.c | 43 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 D | makefile | 94 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 D | commpage_tests.c | 332 sleep(1); 344 sleep(1);
|
H A D | sched_tests.c | 80 sleep(1); 197 sleep(1);
|
H A D | misc.c | 183 /* 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 D | socket_tests.c | 143 sleep(2);
|
H A D | tests.c | 2041 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 D | lockstat.c | 169 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 D | od_account_create.sh | 100 sleep 2 103 sleep 2 109 sleep 2
|
/xnu-2782.1.97/iokit/Tests/ |
H A D | TestDevice.cpp | 48 TestDevice::enqueueCommand(bool sleep, argument 51 return commQ->enqueueCommand(sleep, (void *) act, (void *) tag, dataP);
|
H A D | Tests.h | 94 kern_return_t enqueueCommand(bool sleep,
|
/xnu-2782.1.97/tools/tests/memorystatus/ |
H A D | memorystatus_groups.c | 368 sleep(delay_seconds); 387 sleep(delay_seconds); 582 sleep(5); 606 sleep(5);
|
H A D | memorystatus.c | 199 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 D | IOMapper.cpp | 68 void sleep(void *event) { IOLockSleep(fWaitLock, event, THREAD_UNINT); }; function in class:IOMapperLock 138 sMapperLock.sleep(&IOMapper::gSystem);
|
H A D | IOPMrootDomain.cpp | 602 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 D | kern_synch.c | 136 * pri<=PZERO a signal cannot disturb the sleep; 138 * If pri&PCATCH is set, signals will cause sleep 308 sleep( function
|
H A D | tty.c | 1137 * 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 D | kqueue_file_tests.c | 121 * 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 D | timer_jitter.c | 80 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 D | MakeInc.cmd | 164 SLEEP = /bin/sleep
|
/xnu-2782.1.97/bsd/sys/ |
H A D | proc_internal.h | 532 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 D | ip_compat.h | 288 # define SLEEP(id, n) sleep((id), PZERO+1)
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | sched_prim.c | 1086 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),
|