Home
last modified time | relevance | path

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

/xnu-10063.141.1/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()
822 struct turnstile *turnstile = TURNSTILE_NULL; in turnstile_alloc()
[all …]
H A Depoch_sync.c198 sync->es_turnstile = TURNSTILE_NULL; in esync_alloc()
215 assert3p(sync->es_turnstile, ==, TURNSTILE_NULL); in esync_free()
359 &sync->es_turnstile, TURNSTILE_NULL, tt); in esync_wait()
432 &sync->es_turnstile, TURNSTILE_NULL, tt); in esync_wake()
H A Dturnstile.h268 #define TURNSTILE_NULL ((struct turnstile *)0) macro
H A Dlock_mtx.c559 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait()
799 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.c418 return ts == TURNSTILE_NULL || in waitq_empty()
1752 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init()
1790 assert(waitq.wq_q->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
H A Dsmr.c828 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_leave_stalled()
935 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_wait_for_stalled()
H A Dthread.c810 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
H A Dkern_stackshot.c4282 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
/xnu-10063.141.1/osfmk/ipc/
H A Dipc_mqueue.c482 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked()
508 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked()
623 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.c1431 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1435 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity()
1484 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1607 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor()
1732 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1733 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1740 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1749 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1765 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1783 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete()
[all …]
H A Dipc_pset.c385 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port()
462 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port()
654 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portattach()
802 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_portdetach()
1069 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-10063.141.1/bsd/kern/
H A Dsys_ulock.c326 ull->ull_turnstile = TURNSTILE_NULL; in ull_alloc()
338 assert(ull->ull_turnstile == TURNSTILE_NULL); in ull_free()
723 TURNSTILE_NULL, TURNSTILE_ULOCK); in sys_ulock_wait2()
988 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake()
1019 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake()
1020 assert(ts != TURNSTILE_NULL); in ulock_wake()
1059 if (ts != TURNSTILE_NULL) { in ulock_wake()
H A Dkern_event.c2058 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate()
2549 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait()
3419 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc()
5164 struct turnstile *ts = TURNSTILE_NULL; in kqueue_threadreq_initiate()
5773 return TURNSTILE_NULL; in kqueue_alloc_turnstile()
5776 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL; in kqueue_alloc_turnstile()
5832 return TURNSTILE_NULL; in kqueue_turnstile()
5843 return TURNSTILE_NULL; in kqueue_threadreq_get_turnstile()
/xnu-10063.141.1/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()