Home
last modified time | relevance | path

Searched refs:SYNC_POLICY_FIFO (Results 1 – 23 of 23) sorted by relevance

/xnu-8019.80.24/osfmk/mach/
H A Dsync_policy.h40 #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 Dioperf.c222 SYNC_POLICY_FIFO, 0), "semaphore_create");
225 SYNC_POLICY_FIFO, 0), "semaphore_create");
H A Dcontextswitch.c221 SYNC_POLICY_FIFO, 0), "semaphore_create");
224 SYNC_POLICY_FIFO, 0), "semaphore_create");
H A Dpoll_select_kevent_paired_fds.c387 …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 Dselect_stress.c409 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 Dhvbench.c307 SYNC_POLICY_FIFO, 0), "semaphore_create 1");
309 SYNC_POLICY_FIFO, 0), "semaphore_create 2");
H A Dstackshot_block_owner_14362384.m561 ret = semaphore_create(mach_task_self(), &sem, SYNC_POLICY_FIFO, 0);
/xnu-8019.80.24/tools/tests/zero-to-n/
H A Dzero-to-n.c1106 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 DPassthruInterruptController.cpp54 if (semaphore_create(kernel_task, &child_sentinel, SYNC_POLICY_FIFO, 0) != KERN_SUCCESS) { in init()
H A DIOCommandQueue.cpp94 != semaphore_create(kernel_task, &producerSema, SYNC_POLICY_FIFO, inSize)) { in OSDefineMetaClassAndStructors()
H A DIOService.cpp610 err = semaphore_create(kernel_task, &gJobsSemaphore, SYNC_POLICY_FIFO, 0); in initialize()
/xnu-8019.80.24/iokit/Tests/
H A DTestDevice.cpp183 != semaphore_create(kernel_task, &completeSema, SYNC_POLICY_FIFO, 4)) { in testWorkLoop()
/xnu-8019.80.24/tools/tests/jitter/
H A Dtimer_jitter.c321 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 Dsys_generic.c191 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 Dposix_sem.c478 kret = semaphore_create(kernel_task, &new_pinfo->psem_semobject, SYNC_POLICY_FIFO, value); in sem_open()
H A Dkern_aio.c312 waitq_init(&wq->aioq_waitq, SYNC_POLICY_FIFO); in aio_workq_init()
H A Dkern_sysctl.c3425 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 Dcopyio_tests.c97 semaphore_create(current_task(), &tdata.done, SYNC_POLICY_FIFO, 0); in copyio_test_run_in_thread()
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_pset.c87 policy |= SYNC_POLICY_FIFO | SYNC_POLICY_PORT_SET; in ipc_port_set_init()
H A Dipc_port.c742 int policy = SYNC_POLICY_FIFO | SYNC_POLICY_TURNSTILE_PROXY; in ipc_port_init()
/xnu-8019.80.24/osfmk/kern/
H A Dsfi.c243 waitq_init(&sfi_classes[i].waitq, SYNC_POLICY_FIFO | SYNC_POLICY_DISABLE_IRQ); in sfi_init()
H A Dwaitq.c1851 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 Dthread_call.c515 waitq_init(&daemon_waitq, SYNC_POLICY_DISABLE_IRQ | SYNC_POLICY_FIFO); in thread_call_initialize()