| /xnu-8020.140.41/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-8020.140.41/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 | 573 ret = semaphore_create(mach_task_self(), &sem, SYNC_POLICY_FIFO, 0);
|
| /xnu-8020.140.41/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 1111 kr = semaphore_create(mach_task_self(), &g_main_sem, SYNC_POLICY_FIFO, 0); in main() 1122 kr = semaphore_create(mach_task_self(), &g_semarr[i], SYNC_POLICY_FIFO, 0); in main() 1128 kr = semaphore_create(mach_task_self(), &g_broadcastsem, SYNC_POLICY_FIFO, 0); in main() 1130 kr = semaphore_create(mach_task_self(), &g_leadersem, SYNC_POLICY_FIFO, 0); in main() 1135 kr = semaphore_create(mach_task_self(), &g_donesem, SYNC_POLICY_FIFO, 0); in main() 1139 kr = semaphore_create(mach_task_self(), &g_readysem, SYNC_POLICY_FIFO, 0); in main() 1142 kr = semaphore_create(mach_task_self(), &g_rt_churn_sem, SYNC_POLICY_FIFO, 0); in main() 1145 kr = semaphore_create(mach_task_self(), &g_rt_churn_start_sem, SYNC_POLICY_FIFO, 0); in main()
|
| /xnu-8020.140.41/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-8020.140.41/iokit/Tests/ |
| H A D | TestDevice.cpp | 183 != semaphore_create(kernel_task, &completeSema, SYNC_POLICY_FIFO, 4)) { in testWorkLoop()
|
| /xnu-8020.140.41/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-8020.140.41/tests/ipc/ |
| H A D | kernel_signed_pac_thread_state.c | 391 SYNC_POLICY_FIFO, 0), "semaphore_create");
|
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | waitq.c | 644 waitq_init(&global_waitqs[i], WQT_QUEUE, SYNC_POLICY_FIFO); in waitq_bootstrap() 647 waitq_init(&select_conflict_queue, WQT_SELECT, SYNC_POLICY_FIFO); in waitq_bootstrap() 2039 waitq_init(selset, WQT_SELECT_SET, SYNC_POLICY_FIFO); in select_set_alloc() 2371 waitq_init(&wqt_waitq_array[i], WQT_PORT, SYNC_POLICY_FIFO); in wqt_start()
|
| H A D | thread_call.c | 461 waitq_init(&group->waiters_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in thread_call_group_setup() 515 waitq_init(&daemon_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in thread_call_initialize()
|
| H A D | sfi.c | 243 waitq_init(&sfi_classes[i].waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in sfi_init()
|
| /xnu-8020.140.41/osfmk/ipc/ |
| H A D | ipc_eventlink.c | 189 waitq_init(&ipc_eventlink_base->elb_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in ipc_eventlink_initialize()
|
| H A D | ipc_pset.c | 88 waitq_init(&pset->ips_wqset, WQT_PORT_SET, policy | SYNC_POLICY_FIFO); in ipc_port_set_init()
|
| H A D | ipc_port.c | 719 int policy = SYNC_POLICY_FIFO; in ipc_port_init()
|
| /xnu-8020.140.41/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-8020.140.41/bsd/kern/ |
| 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, WQT_QUEUE, SYNC_POLICY_FIFO); in aio_workq_init()
|
| H A D | kern_sysctl.c | 3428 SYNC_POLICY_FIFO, 0); in sysctl_debug_test_stackshot_mutex_owner() 3509 SYNC_POLICY_FIFO, in sysctl_debug_test_stackshot_rwlck_owner() 5361 semaphore_create(kernel_task, &sysctl_test_panic_with_thread_sem, SYNC_POLICY_FIFO, 0);
|
| H A D | sys_generic.c | 2191 waitq_init(&sip->si_waitq, WQT_SELECT, SYNC_POLICY_FIFO); in selrecord()
|