| /xnu-8796.121.2/osfmk/kern/ |
| H A D | turnstile.c | 406 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_freelist_remove() 410 assert(ret_turnstile != TURNSTILE_NULL); in turnstile_freelist_remove() 608 return TURNSTILE_NULL; in turnstile_htable_lookup_add() 638 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstable_htable_lookup_remove() 661 assert(ret_turnstile != TURNSTILE_NULL); in turnstable_htable_lookup_remove() 675 return TURNSTILE_NULL; in turnstable_htable_lookup_remove() 728 return TURNSTILE_NULL; in turnstile_htable_lookup() 734 struct turnstile *ts = TURNSTILE_NULL; in turnstile_htable_lookup() 735 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_htable_lookup() 818 struct turnstile *turnstile = TURNSTILE_NULL; in turnstile_alloc() [all …]
|
| H A D | turnstile.h | 257 #define TURNSTILE_NULL ((struct turnstile *)0) macro
|
| H A D | locks.c | 2056 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in gate_open_turnstile() 2124 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_handoff_turnstile() 2243 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_steal_turnstile() 2313 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_wait_turnstile()
|
| H A D | lock_mtx.c | 552 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait() 792 struct turnstile *ts = TURNSTILE_NULL; in lck_mtx_lock_contended()
|
| H A D | waitq.c | 418 return ts == TURNSTILE_NULL || in waitq_empty() 1728 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init() 1766 assert(waitq.wq_q->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
|
| H A D | thread.c | 817 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
|
| H A D | kern_stackshot.c | 3692 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
|
| /xnu-8796.121.2/osfmk/ipc/ |
| H A D | ipc_mqueue.c | 416 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked() 442 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked() 557 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount() 921 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread_and_unlock() 1035 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread_and_unlock() 1073 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread_and_unlock() 1370 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked() 1447 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
|
| H A D | ipc_port.c | 1358 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1362 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity() 1411 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1534 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor() 1659 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1660 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1667 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1676 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1692 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1710 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() 453 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port() 634 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportattach() 762 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportdetach() 1012 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 | 2205 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity() 2355 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_importance_check_circularity() 2428 send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
|
| /xnu-8796.121.2/bsd/kern/ |
| H A D | sys_ulock.c | 303 ull->ull_turnstile = TURNSTILE_NULL; in ull_alloc() 315 assert(ull->ull_turnstile == TURNSTILE_NULL); in ull_free() 700 TURNSTILE_NULL, TURNSTILE_ULOCK); in sys_ulock_wait2() 961 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake() 992 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake() 993 assert(ts != TURNSTILE_NULL); in ulock_wake() 1032 if (ts != TURNSTILE_NULL) { in ulock_wake()
|
| H A D | kern_event.c | 2007 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate() 2498 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait() 3361 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc() 4994 struct turnstile *ts = TURNSTILE_NULL; in kqueue_threadreq_initiate() 5567 return TURNSTILE_NULL; in kqueue_alloc_turnstile() 5570 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL; in kqueue_alloc_turnstile() 5626 return TURNSTILE_NULL; in kqueue_turnstile() 5637 return TURNSTILE_NULL; in kqueue_threadreq_get_turnstile()
|
| /xnu-8796.121.2/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()
|