| /xnu-11417.140.69/osfmk/kern/ |
| H A D | turnstile.c | 407 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 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() 812 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() 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 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 | 818 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
|
| H A D | kern_stackshot.c | 6116 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
|
| /xnu-11417.140.69/osfmk/ipc/ |
| H A D | ipc_mqueue.c | 483 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 D | ipc_port.c | 1450 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 D | ipc_pset.c | 392 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 D | mach_msg.c | 1122 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 D | ipc_importance.c | 2225 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 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 | 2076 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 D | pthread_shims.c | 229 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()
|