| /xnu-8792.61.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 | 2132 TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in gate_open_turnstile() 2200 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_handoff_turnstile() 2319 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_steal_turnstile() 2389 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_wait_turnstile()
|
| H A D | lock_mtx.c | 594 if (ts == TURNSTILE_NULL) { in lck_mtx_lock_wait() 834 struct turnstile *ts = TURNSTILE_NULL; in lck_mtx_lock_contended()
|
| H A D | waitq.c | 418 return ts == TURNSTILE_NULL || in waitq_empty() 1650 waitq.wq_q->waitq_ts = TURNSTILE_NULL; in waitq_init() 1688 assert(waitq.wq_q->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
|
| H A D | thread.c | 814 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
|
| H A D | kern_stackshot.c | 3671 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
|
| /xnu-8792.61.2/osfmk/ipc/ |
| H A D | ipc_mqueue.c | 403 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked() 429 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked() 544 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount() 908 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread_and_unlock() 1022 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread_and_unlock() 1054 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread_and_unlock() 1351 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked() 1428 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
|
| H A D | ipc_port.c | 1346 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1350 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity() 1399 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity() 1522 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor() 1647 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1648 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1655 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1664 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare() 1680 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare() 1698 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete() [all …]
|
| H A D | ipc_pset.c | 362 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port() 437 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port() 618 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportattach() 746 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportdetach() 996 assert(self->turnstile != TURNSTILE_NULL); in filt_machportprocess()
|
| H A D | mach_msg.c | 1259 boolean_t get_turnstile = (self->turnstile == TURNSTILE_NULL); in mach_msg_receive_results_complete() 1264 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete() 1287 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-8792.61.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 | 2014 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate() 2505 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait() 3368 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc() 5001 struct turnstile *ts = TURNSTILE_NULL; in kqueue_threadreq_initiate() 5574 return TURNSTILE_NULL; in kqueue_alloc_turnstile() 5577 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL; in kqueue_alloc_turnstile() 5633 return TURNSTILE_NULL; in kqueue_turnstile() 5644 return TURNSTILE_NULL; in kqueue_threadreq_get_turnstile()
|
| /xnu-8792.61.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()
|