| /xnu-10002.1.13/osfmk/kern/ |
| H A D | turnstile.c | 408 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_freelist_remove() 412 assert(ret_turnstile != TURNSTILE_NULL); in turnstile_freelist_remove() 610 return TURNSTILE_NULL; in turnstile_htable_lookup_add() 640 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstable_htable_lookup_remove() 663 assert(ret_turnstile != TURNSTILE_NULL); in turnstable_htable_lookup_remove() 677 return TURNSTILE_NULL; in turnstable_htable_lookup_remove() 730 return TURNSTILE_NULL; in turnstile_htable_lookup() 736 struct turnstile *ts = TURNSTILE_NULL; in turnstile_htable_lookup() 737 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_htable_lookup() 820 struct turnstile *turnstile = TURNSTILE_NULL; in turnstile_alloc() [all …]
|
| H A D | turnstile.h | 262 #define TURNSTILE_NULL ((struct turnstile *)0) macro
|
| H A D | locks.c | 2054 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in gate_open_turnstile() 2122 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_handoff_turnstile() 2241 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_steal_turnstile() 2311 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_wait_turnstile()
|
| H A D | lock_mtx.c | 559 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait() 799 struct turnstile *ts = TURNSTILE_NULL; in lck_mtx_lock_contended()
|
| H A D | waitq.c | 418 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 D | smr.c | 825 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_leave_stalled() 932 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in __smr_wait_for_stalled()
|
| H A D | thread.c | 820 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
|
| H A D | kern_stackshot.c | 3747 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
|
| /xnu-10002.1.13/osfmk/ipc/ |
| H A D | ipc_mqueue.c | 419 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked() 445 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked() 560 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount() 924 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread_and_unlock() 1038 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread_and_unlock() 1076 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread_and_unlock() 1373 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked() 1450 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
|
| H A D | ipc_port.c | 1370 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1374 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity() 1423 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1546 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor() 1671 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1672 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1679 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1688 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1704 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1722 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete() [all …]
|
| H A D | ipc_pset.c | 378 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port() 455 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port() 638 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportattach() 766 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportdetach() 1016 assert(self->turnstile != TURNSTILE_NULL); in filt_machportprocess()
|
| H A D | mach_msg.c | 1303 boolean_t get_turnstile = (self->turnstile == TURNSTILE_NULL); in mach_msg_receive_results_complete() 1308 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete() 1331 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
|
| H A D | ipc_port.h | 229 (IP_PREALLOC(port) ? TURNSTILE_NULL : (port)->ip_send_turnstile)
|
| H A D | ipc_importance.c | 2209 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity() 2359 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_importance_check_circularity() 2432 send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
|
| /xnu-10002.1.13/bsd/kern/ |
| H A D | sys_ulock.c | 326 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() 984 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake() 1015 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake() 1016 assert(ts != TURNSTILE_NULL); in ulock_wake() 1055 if (ts != TURNSTILE_NULL) { in ulock_wake()
|
| H A D | kern_event.c | 2046 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate() 2537 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait() 3400 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc() 5033 struct turnstile *ts = TURNSTILE_NULL; in kqueue_threadreq_initiate() 5606 return TURNSTILE_NULL; in kqueue_alloc_turnstile() 5609 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL; in kqueue_alloc_turnstile() 5665 return TURNSTILE_NULL; in kqueue_turnstile() 5676 return TURNSTILE_NULL; in kqueue_threadreq_get_turnstile()
|
| /xnu-10002.1.13/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()
|