Home
last modified time | relevance | path

Searched refs:semaphore_wait (Results 1 – 19 of 19) sorted by relevance

/xnu-8020.101.4/iokit/Tests/
H A DTestDevice.cpp139 semaphore_wait(completeSema); in producer()
195 semaphore_wait(completeSema); in testWorkLoop()
/xnu-8020.101.4/libsyscall/mach/
H A Dsemaphore.c55 semaphore_wait(mach_port_t wait_semaphore) in semaphore_wait() function
/xnu-8020.101.4/osfmk/mach/
H A Dsemaphore.h58 extern kern_return_t semaphore_wait(semaphore_t semaphore);
H A Dsemaphore.defs62 routine semaphore_wait(
/xnu-8020.101.4/iokit/Kernel/
H A DPassthruInterruptController.cpp104 semaphore_wait(child_sentinel); in waitForChildController()
H A DIOCommandQueue.cpp231 rtn = semaphore_wait(producerSema); in enqueueCommand()
H A DIOService.cpp5593 semaphore_wait( gJobsSemaphore ); in main()
/xnu-8020.101.4/tools/tests/jitter/
H A Dtimer_jitter.c400 kret = semaphore_wait(return_semaphore); in main()
459 kret = semaphore_wait(secargs->wakeup_semaphore); in second_thread()
/xnu-8020.101.4/tests/
H A Dioperf.c240 T_ASSERT_MACH_SUCCESS(semaphore_wait(worker_sem), "semaphore_wait");
H A Dcontextswitch.c251 T_ASSERT_MACH_SUCCESS(semaphore_wait(worker_sem), "semaphore_wait");
H A Dselect_stress.c273 if (semaphore_wait(g_sync_sem) == KERN_SUCCESS) { in test_select_stress()
H A Dhvbench.c265 T_ASSERT_MACH_SUCCESS(semaphore_wait(sem1), in vcpu_switch_follower()
H A Dstackshot_block_owner_14362384.m425 semaphore_wait(*sem);
H A Dstackshot_tests.m934 usleep(1); /* make sure we don't tailcall semaphore_wait */
/xnu-8020.101.4/tools/tests/zero-to-n/
H A Dzero-to-n.c364 kern_return_t kr = semaphore_wait(g_rt_churn_sem); in wait_for_rt_churn_threads()
593 kr = semaphore_wait(g_readysem); in worker_thread()
762 kr = semaphore_wait(g_readysem); in worker_thread()
1175 kr = semaphore_wait(g_main_sem); in main()
/xnu-8020.101.4/bsd/tests/
H A Dcopyio_tests.c100 semaphore_wait(tdata.done); in copyio_test_run_in_thread()
/xnu-8020.101.4/osfmk/kern/
H A Dsync_sema.c799 semaphore_wait( in semaphore_wait() function
/xnu-8020.101.4/bsd/kern/
H A Dposix_sem.c844 kret = semaphore_wait(pinfo->psem_semobject); in sem_wait_nocancel()
H A Dkern_sysctl.c3441 semaphore_wait(sysctl_debug_test_stackshot_mutex_sem); in sysctl_debug_test_stackshot_mutex_owner()
3523 semaphore_wait(sysctl_debug_test_stackshot_rwlck_sem); in sysctl_debug_test_stackshot_rwlck_owner()
3532 semaphore_wait(sysctl_debug_test_stackshot_rwlck_sem); in sysctl_debug_test_stackshot_rwlck_owner()
5377 semaphore_wait(sysctl_test_panic_with_thread_sem);