| /xnu-8019.80.24/osfmk/mach/ |
| H A D | sync_policy.h | 40 #define SYNC_POLICY_FIFO 0x0 macro 44 #define SYNC_POLICY_LIFO (SYNC_POLICY_FIFO|SYNC_POLICY_REVERSED) 55 (SYNC_POLICY_FIFO | SYNC_POLICY_LIFO | SYNC_POLICY_PREPOST)
|
| /xnu-8019.80.24/tests/ |
| H A D | ioperf.c | 222 SYNC_POLICY_FIFO, 0), "semaphore_create"); 225 SYNC_POLICY_FIFO, 0), "semaphore_create");
|
| H A D | contextswitch.c | 221 SYNC_POLICY_FIFO, 0), "semaphore_create"); 224 SYNC_POLICY_FIFO, 0), "semaphore_create");
|
| H A D | poll_select_kevent_paired_fds.c | 387 …T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &shared.wr_finished, SYNC_POLICY_FIFO, 0), in write_to_fd() 425 …T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &shared.wr_finished, SYNC_POLICY_FIFO, 0), in write_to_fd() 636 …T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &shared.rd_finished, SYNC_POLICY_FIFO, 0), in read_from_fd() 674 …T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &shared.rd_finished, SYNC_POLICY_FIFO, 0), in read_from_fd() 795 T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &shared.wr_wait.sem, SYNC_POLICY_FIFO, 0), in drive_threads()
|
| H A D | select_stress.c | 409 T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &g_sync_sem, SYNC_POLICY_FIFO, 0), 412 T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &g_thread_sem, SYNC_POLICY_FIFO, 0),
|
| H A D | hvbench.c | 307 SYNC_POLICY_FIFO, 0), "semaphore_create 1"); 309 SYNC_POLICY_FIFO, 0), "semaphore_create 2");
|
| H A D | stackshot_block_owner_14362384.m | 561 ret = semaphore_create(mach_task_self(), &sem, SYNC_POLICY_FIFO, 0);
|
| /xnu-8019.80.24/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 1106 kr = semaphore_create(mach_task_self(), &g_main_sem, SYNC_POLICY_FIFO, 0); in main() 1117 kr = semaphore_create(mach_task_self(), &g_semarr[i], SYNC_POLICY_FIFO, 0); in main() 1123 kr = semaphore_create(mach_task_self(), &g_broadcastsem, SYNC_POLICY_FIFO, 0); in main() 1125 kr = semaphore_create(mach_task_self(), &g_leadersem, SYNC_POLICY_FIFO, 0); in main() 1130 kr = semaphore_create(mach_task_self(), &g_donesem, SYNC_POLICY_FIFO, 0); in main() 1134 kr = semaphore_create(mach_task_self(), &g_readysem, SYNC_POLICY_FIFO, 0); in main() 1137 kr = semaphore_create(mach_task_self(), &g_rt_churn_sem, SYNC_POLICY_FIFO, 0); in main() 1140 kr = semaphore_create(mach_task_self(), &g_rt_churn_start_sem, SYNC_POLICY_FIFO, 0); in main()
|
| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | PassthruInterruptController.cpp | 54 if (semaphore_create(kernel_task, &child_sentinel, SYNC_POLICY_FIFO, 0) != KERN_SUCCESS) { in init()
|
| H A D | IOCommandQueue.cpp | 94 != semaphore_create(kernel_task, &producerSema, SYNC_POLICY_FIFO, inSize)) { in OSDefineMetaClassAndStructors()
|
| H A D | IOService.cpp | 610 err = semaphore_create(kernel_task, &gJobsSemaphore, SYNC_POLICY_FIFO, 0); in initialize()
|
| /xnu-8019.80.24/iokit/Tests/ |
| H A D | TestDevice.cpp | 183 != semaphore_create(kernel_task, &completeSema, SYNC_POLICY_FIFO, 4)) { in testWorkLoop()
|
| /xnu-8019.80.24/tools/tests/jitter/ |
| H A D | timer_jitter.c | 321 kret = semaphore_create(mach_task_self(), &wakeup_semaphore, SYNC_POLICY_FIFO, 0); in main() 327 kret = semaphore_create(mach_task_self(), &return_semaphore, SYNC_POLICY_FIFO, 0); in main()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | sys_generic.c | 191 waitq_init(&select_conflict_queue, SYNC_POLICY_FIFO); in select_waitq_init() 1463 waitq_set_init(uth->uu_wqset, SYNC_POLICY_FIFO); in select_internal() 1467 waitq_set_init(uth->uu_wqset, SYNC_POLICY_FIFO); in select_internal() 2342 waitq_init(&sip->si_waitq, SYNC_POLICY_FIFO); in selrecord()
|
| H A D | posix_sem.c | 478 kret = semaphore_create(kernel_task, &new_pinfo->psem_semobject, SYNC_POLICY_FIFO, value); in sem_open()
|
| H A D | kern_aio.c | 312 waitq_init(&wq->aioq_waitq, SYNC_POLICY_FIFO); in aio_workq_init()
|
| H A D | kern_sysctl.c | 3425 SYNC_POLICY_FIFO, 0); in sysctl_debug_test_stackshot_mutex_owner() 3506 SYNC_POLICY_FIFO, in sysctl_debug_test_stackshot_rwlck_owner() 5356 semaphore_create(kernel_task, &sysctl_test_panic_with_thread_sem, SYNC_POLICY_FIFO, 0);
|
| /xnu-8019.80.24/bsd/tests/ |
| H A D | copyio_tests.c | 97 semaphore_create(current_task(), &tdata.done, SYNC_POLICY_FIFO, 0); in copyio_test_run_in_thread()
|
| /xnu-8019.80.24/osfmk/ipc/ |
| H A D | ipc_pset.c | 87 policy |= SYNC_POLICY_FIFO | SYNC_POLICY_PORT_SET; in ipc_port_set_init()
|
| H A D | ipc_port.c | 742 int policy = SYNC_POLICY_FIFO | SYNC_POLICY_TURNSTILE_PROXY; in ipc_port_init()
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | sfi.c | 243 waitq_init(&sfi_classes[i].waitq, SYNC_POLICY_FIFO | SYNC_POLICY_DISABLE_IRQ); in sfi_init()
|
| H A D | waitq.c | 1851 waitq_init(&global_waitqs[i], SYNC_POLICY_FIFO | SYNC_POLICY_DISABLE_IRQ); in waitq_bootstrap() 4765 waitq_init(&wqt_waitq_array[i], SYNC_POLICY_FIFO); in wqt_start()
|
| H A D | thread_call.c | 515 waitq_init(&daemon_waitq, SYNC_POLICY_DISABLE_IRQ | SYNC_POLICY_FIFO); in thread_call_initialize()
|