Home
last modified time | relevance | path

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

/xnu-11417.140.69/osfmk/kern/
H A Dturnstile.c407 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_freelist_remove()
411 assert(ret_turnstile != TURNSTILE_NULL); in turnstile_freelist_remove()
609 return TURNSTILE_NULL; in turnstile_htable_lookup_add()
639 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstable_htable_lookup_remove()
662 assert(ret_turnstile != TURNSTILE_NULL); in turnstable_htable_lookup_remove()
676 return TURNSTILE_NULL; in turnstable_htable_lookup_remove()
729 return TURNSTILE_NULL; in turnstile_htable_lookup()
735 struct turnstile *ts = TURNSTILE_NULL; in turnstile_htable_lookup()
736 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_htable_lookup()
793 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.c572 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait()
812 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.c416 return ts == TURNSTILE_NULL || in waitq_empty()
1731 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init()
1769 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.c818 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
H A Dkern_stackshot.c6116 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
/xnu-11417.140.69/osfmk/ipc/
H A Dipc_mqueue.c483 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked()
509 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked()
624 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount()
988 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread_and_unlock()
1106 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread_and_unlock()
1144 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread_and_unlock()
1441 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked()
1518 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
H A Dipc_port.c1450 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1454 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity()
1503 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1626 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor()
1751 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1752 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1759 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1768 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1784 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1802 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete()
[all …]
H A Dipc_pset.c392 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port()
456 struct turnstile *ts_store = TURNSTILE_NULL; in filt_machport_turnstile_prepare_lazily()
469 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port()
661 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portattach()
809 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portdetach()
1077 assert(self->turnstile != TURNSTILE_NULL); in filt_machportprocess()
H A Dmach_msg.c1122 boolean_t get_turnstile = (self->turnstile == TURNSTILE_NULL); in mach_msg_receive_results_complete()
1127 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
1152 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()
2375 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_importance_check_circularity()
2448 send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
/xnu-11417.140.69/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()
729 TURNSTILE_NULL, TURNSTILE_ULOCK); in sys_ulock_wait2()
994 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake()
1025 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake()
1026 assert(ts != TURNSTILE_NULL); in ulock_wake()
1065 if (ts != TURNSTILE_NULL) { in ulock_wake()
H A Dkern_event.c2076 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate()
2567 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait()
3442 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc()
5331 struct turnstile *ts = TURNSTILE_NULL;
6112 return TURNSTILE_NULL;
6115 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL;
6171 return TURNSTILE_NULL;
6182 return TURNSTILE_NULL;
/xnu-11417.140.69/bsd/pthread/
H A Dpthread_shims.c229 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_prepare()
269 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_update_owner()
295 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_wakeup()