| /xnu-12377.61.12/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-12377.61.12/tests/sched/ |
| H A D | contextswitch.c | 213 SYNC_POLICY_FIFO, 0), "semaphore_create"); 216 SYNC_POLICY_FIFO, 0), "semaphore_create");
|
| H A D | yield_aggressor.c | 225 kr = semaphore_create(mach_task_self(), &ready_sem, SYNC_POLICY_FIFO, 0); in run_yielding_test() 227 kr = semaphore_create(mach_task_self(), &go_sem, SYNC_POLICY_FIFO, 0); in run_yielding_test()
|
| H A D | setitimer.c | 182 kr = semaphore_create(mach_task_self(), &gMainWaitForWorkers, SYNC_POLICY_FIFO, 0); 185 kr = semaphore_create(mach_task_self(), &gWorkersStart, SYNC_POLICY_FIFO, 0);
|
| /xnu-12377.61.12/tests/ |
| H A D | ioperf.c | 222 SYNC_POLICY_FIFO, 0), "semaphore_create"); 225 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 | 438 T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &g_sync_sem, SYNC_POLICY_FIFO, 0), 441 T_ASSERT_MACH_SUCCESS(semaphore_create(mach_task_self(), &g_thread_sem, SYNC_POLICY_FIFO, 0),
|
| H A D | mach_eventlink.c | 897 kr = semaphore_create(mach_task_self(), &g_sem_done, SYNC_POLICY_FIFO, 0);
|
| H A D | stackshot_block_owner_14362384.m | 573 ret = semaphore_create(mach_task_self(), &sem, SYNC_POLICY_FIFO, 0);
|
| /xnu-12377.61.12/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 1255 kr = semaphore_create(mach_task_self(), &g_main_sem, SYNC_POLICY_FIFO, 0); in main() 1266 kr = semaphore_create(mach_task_self(), &g_semarr[i], SYNC_POLICY_FIFO, 0); in main() 1272 kr = semaphore_create(mach_task_self(), &g_broadcastsem, SYNC_POLICY_FIFO, 0); in main() 1274 kr = semaphore_create(mach_task_self(), &g_leadersem, SYNC_POLICY_FIFO, 0); in main() 1279 kr = semaphore_create(mach_task_self(), &g_donesem, SYNC_POLICY_FIFO, 0); in main() 1283 kr = semaphore_create(mach_task_self(), &g_readysem, SYNC_POLICY_FIFO, 0); in main() 1286 kr = semaphore_create(mach_task_self(), &g_rt_churn_sem, SYNC_POLICY_FIFO, 0); in main() 1289 kr = semaphore_create(mach_task_self(), &g_rt_churn_start_sem, SYNC_POLICY_FIFO, 0); in main()
|
| /xnu-12377.61.12/tests/recount/ |
| H A D | recount_test_utils.c | 323 SYNC_POLICY_FIFO, 0); in scene_start() 326 SYNC_POLICY_FIFO, 0); in scene_start()
|
| /xnu-12377.61.12/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()
|
| /xnu-12377.61.12/iokit/Tests/ |
| H A D | TestDevice.cpp | 183 != semaphore_create(kernel_task, &completeSema, SYNC_POLICY_FIFO, 4)) { in testWorkLoop()
|
| /xnu-12377.61.12/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-12377.61.12/tests/ipc/ |
| H A D | kernel_signed_pac_thread_state.c | 403 SYNC_POLICY_FIFO, 0), "semaphore_create");
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | waitq.c | 663 waitq_init(&global_waitqs[i], WQT_QUEUE, SYNC_POLICY_FIFO); in waitq_bootstrap() 666 waitq_init(&select_conflict_queue, WQT_SELECT, SYNC_POLICY_FIFO); in waitq_bootstrap() 2115 waitq_init(selset, WQT_SELECT_SET, SYNC_POLICY_FIFO); in select_set_alloc() 2452 waitq_init(&wqt_waitq_array[i], WQT_PORT, SYNC_POLICY_FIFO); in wqt_start()
|
| H A D | sfi.c | 246 waitq_init(&sfi_classes[i].waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in sfi_init()
|
| H A D | thread_call.c | 478 waitq_init(&group->waiters_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in thread_call_group_setup() 532 waitq_init(&daemon_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in thread_call_initialize()
|
| /xnu-12377.61.12/osfmk/ipc/ |
| H A D | ipc_eventlink.c | 188 waitq_init(&ipc_eventlink_base->elb_waitq, WQT_QUEUE, SYNC_POLICY_FIFO); in ipc_eventlink_initialize()
|
| H A D | ipc_pset.c | 90 SYNC_POLICY_INIT_LOCKED | SYNC_POLICY_FIFO); in ipc_port_set_init()
|
| /xnu-12377.61.12/bsd/tests/ |
| H A D | copyio_tests.c | 101 semaphore_create(current_task(), &tdata.done, SYNC_POLICY_FIFO, 0); in copyio_test_run_in_thread()
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | posix_sem.c | 637 kret = semaphore_create(kernel_task, &new_pinfo->psem_semobject, SYNC_POLICY_FIFO, value); in sem_open()
|
| H A D | kern_sysctl.c | 3960 SYNC_POLICY_FIFO, 0); 4041 SYNC_POLICY_FIFO, 6139 semaphore_create(kernel_task, &sysctl_test_panic_with_thread_sem, SYNC_POLICY_FIFO, 0);
|
| /xnu-12377.61.12/tests/unit/mocks/ |
| H A D | mock_thread.c | 1141 MOCK_waitq_init((struct waitq*)&global_mock_waitqs[i], WQT_QUEUE, SYNC_POLICY_FIFO); in global_mock_waitqs_init()
|