| /xnu-12377.1.9/osfmk/kern/ |
| H A D | turnstile.c | 410 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 D | epoch_sync.c | 242 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 D | turnstile.h | 267 #define TURNSTILE_NULL ((struct turnstile *)0) macro
|
| H A D | lock_mtx.c | 572 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait() 814 struct turnstile *ts = TURNSTILE_NULL; in lck_mtx_lock_contended()
|
| H A D | locks.c | 2111 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 D | waitq.c | 416 return ts == TURNSTILE_NULL || in waitq_empty() 1716 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init() 1754 assert(waitq.wq_q->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
|
| H A D | smr.c | 829 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_leave_stalled() 936 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_wait_for_stalled()
|
| H A D | thread.c | 822 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
|
| H A D | kern_stackshot.c | 6252 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
|
| /xnu-12377.1.9/osfmk/ipc/ |
| H A D | ipc_mqueue.c | 457 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 D | ipc_port.c | 1462 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 D | ipc_pset.c | 417 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 D | mach_msg.c | 1115 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 D | ipc_importance.c | 2225 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.1.9/bsd/kern/ |
| H A D | sys_ulock.c | 331 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 D | kern_event.c | 2077 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.1.9/bsd/pthread/ |
| H A D | pthread_shims.c | 230 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()
|