Home
last modified time | relevance | path

Searched refs:TURNSTILE_NULL (Results 1 – 17 of 17) sorted by relevance

/xnu-12377.81.4/osfmk/kern/
H A Dturnstile.c410 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_freelist_remove()
414 assert(ret_turnstile != TURNSTILE_NULL); in turnstile_freelist_remove()
612 return TURNSTILE_NULL; in turnstile_htable_lookup_add()
642 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstable_htable_lookup_remove()
665 assert(ret_turnstile != TURNSTILE_NULL); in turnstable_htable_lookup_remove()
679 return TURNSTILE_NULL; in turnstable_htable_lookup_remove()
732 return TURNSTILE_NULL; in turnstile_htable_lookup()
738 struct turnstile *ts = TURNSTILE_NULL; in turnstile_htable_lookup()
739 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_htable_lookup()
796 struct turnstile *turnstile = TURNSTILE_NULL; in turnstile_alloc()
[all …]
H A Depoch_sync.c242 sync->es_turnstile = TURNSTILE_NULL; in esync_alloc()
259 assert3p(sync->es_turnstile, ==, TURNSTILE_NULL); in esync_free()
455 &sync->es_turnstile, TURNSTILE_NULL, tt); in esync_wait()
536 &sync->es_turnstile, TURNSTILE_NULL, tt); in esync_wake()
H A Dturnstile.h267 #define TURNSTILE_NULL ((struct turnstile *)0) macro
H A Dlock_mtx.c582 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait()
824 struct turnstile *ts = TURNSTILE_NULL; in lck_mtx_lock_contended()
H A Dlocks.c2111 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in gate_open_turnstile()
2179 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_handoff_turnstile()
2298 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_steal_turnstile()
2368 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_wait_turnstile()
H A Dwaitq.c419 return ts == TURNSTILE_NULL || in waitq_empty()
1719 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init()
1757 assert(waitq.wq_q->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
H A Dsmr.c829 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_leave_stalled()
936 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_wait_for_stalled()
H A Dthread.c822 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
H A Dkern_stackshot.c6325 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
/xnu-12377.81.4/osfmk/ipc/
H A Dipc_mqueue.c457 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked()
483 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked()
598 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount()
927 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread_and_unlock()
1027 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread_and_unlock()
1065 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread_and_unlock()
1253 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked()
1319 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
H A Dipc_port.c1462 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1466 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity()
1513 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1636 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor()
1761 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1762 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1769 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1778 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1794 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1812 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete()
[all …]
H A Dipc_pset.c417 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port()
481 struct turnstile *ts_store = TURNSTILE_NULL; in filt_machport_turnstile_prepare_lazily()
494 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port()
686 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portattach()
834 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portdetach()
1102 assert(self->turnstile != TURNSTILE_NULL); in filt_machportprocess()
H A Dmach_msg.c1115 boolean_t get_turnstile = (self->turnstile == TURNSTILE_NULL); in mach_msg_receive_results_complete()
1118 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
1141 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
H A Dipc_importance.c2225 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
2366 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_importance_check_circularity()
2438 send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
/xnu-12377.81.4/bsd/kern/
H A Dsys_ulock.c331 ull->ull_turnstile = TURNSTILE_NULL; in ull_alloc()
343 assert(ull->ull_turnstile == TURNSTILE_NULL); in ull_free()
737 TURNSTILE_NULL, TURNSTILE_ULOCK); in sys_ulock_wait2()
1002 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake()
1033 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake()
1034 assert(ts != TURNSTILE_NULL); in ulock_wake()
1073 if (ts != TURNSTILE_NULL) { in ulock_wake()
H A Dkern_event.c2077 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate()
2568 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait()
3443 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc()
5332 struct turnstile *ts = TURNSTILE_NULL;
6113 return TURNSTILE_NULL;
6116 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL;
6172 return TURNSTILE_NULL;
6183 return TURNSTILE_NULL;
/xnu-12377.81.4/bsd/pthread/
H A Dpthread_shims.c230 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_prepare()
270 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_update_owner()
296 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_wakeup()