Home
last modified time | relevance | path

Searched refs:TURNSTILE_NULL (Results 1 – 17 of 17) sorted by relevance

/xnu-8019.80.24/osfmk/kern/
H A Dturnstile.c416 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_freelist_remove()
420 assert(ret_turnstile != TURNSTILE_NULL); in turnstile_freelist_remove()
618 return TURNSTILE_NULL; in turnstile_htable_lookup_add()
648 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstable_htable_lookup_remove()
671 assert(ret_turnstile != TURNSTILE_NULL); in turnstable_htable_lookup_remove()
685 return TURNSTILE_NULL; in turnstable_htable_lookup_remove()
738 return TURNSTILE_NULL; in turnstile_htable_lookup()
744 struct turnstile *ts = TURNSTILE_NULL; in turnstile_htable_lookup()
745 struct turnstile *ret_turnstile = TURNSTILE_NULL; in turnstile_htable_lookup()
829 struct turnstile *turnstile = TURNSTILE_NULL; in turnstile_alloc()
[all …]
H A Dlocks.c1474 *ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_lock_wait()
1536 ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_lock_acquire()
1587 ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_unlock_wakeup()
1794 ts = turnstile_prepare((uintptr_t)event, NULL, TURNSTILE_NULL, type); in wakeup_with_inheritor_and_turnstile_type()
1885 ts = turnstile_prepare((uintptr_t)event, NULL, TURNSTILE_NULL, type);
1933 ts = turnstile_prepare((uintptr_t)event, NULL, TURNSTILE_NULL, type); in change_sleep_inheritor_and_turnstile_type()
2432 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_open_turnstile()
2500 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_handoff_turnstile()
2618 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_steal_turnstile()
2688 …ts = turnstile_prepare((uintptr_t)gate, &gate->gt_turnstile, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTE… in gate_wait_turnstile()
H A Dturnstile.h255 #define TURNSTILE_NULL ((struct turnstile *)0) macro
H A Dwaitq.c1687 return ts == TURNSTILE_NULL || in waitq_empty()
3053 waitq->waitq_ts = TURNSTILE_NULL; in waitq_init()
3099 assert(waitq->waitq_ts == TURNSTILE_NULL); in waitq_deinit()
H A Dthread.c757 assert(thread->turnstile != TURNSTILE_NULL); in thread_deallocate_complete()
H A Dtask.c711 NULL, TURNSTILE_NULL, TURNSTILE_ULOCK); in task_clear_return_wait()
738 NULL, TURNSTILE_NULL, TURNSTILE_ULOCK); in task_wait_to_return()
H A Dkern_stackshot.c3386 ts != TURNSTILE_NULL; in stackshot_thread_has_valid_turnstileinfo()
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_port.c1354 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1358 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_port_check_circularity()
1407 send_turnstile = TURNSTILE_NULL; in ipc_port_check_circularity()
1503 struct turnstile *inheritor = TURNSTILE_NULL; in ipc_port_recv_update_inheritor()
1628 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1629 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1636 if (turnstile == TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1645 turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_prepare()
1661 if (turnstile != TURNSTILE_NULL) { in ipc_port_send_turnstile_prepare()
1679 struct turnstile *turnstile = TURNSTILE_NULL; in ipc_port_send_turnstile_complete()
[all …]
H A Dipc_mqueue.c430 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_mqueue_send_locked()
456 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_send_locked()
582 send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_release_msgcount()
940 struct turnstile *rcv_turnstile = TURNSTILE_NULL; in ipc_mqueue_receive_on_thread()
1082 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_mqueue_receive_on_thread()
1104 if (rcv_turnstile != TURNSTILE_NULL) { in ipc_mqueue_receive_on_thread()
1457 if (send_turnstile != TURNSTILE_NULL) { in ipc_mqueue_destroy_locked()
1544 if (send_turnstile == TURNSTILE_NULL || in ipc_mqueue_set_qlimit_locked()
H A Dipc_pset.c471 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_stash_port()
546 struct turnstile *ts = TURNSTILE_NULL; in filt_machport_turnstile_complete_port()
727 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportattach()
855 struct turnstile *send_turnstile = TURNSTILE_NULL; in filt_machportdetach()
1070 assert(self->turnstile != TURNSTILE_NULL); in filt_machportprocess()
H A Dmach_msg.c499 boolean_t get_turnstile = (self->turnstile == TURNSTILE_NULL); in mach_msg_receive_results_complete()
504 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
527 assert(self->turnstile != TURNSTILE_NULL); in mach_msg_receive_results_complete()
H A Dipc_importance.c2206 struct turnstile *send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
2356 TURNSTILE_NULL, TURNSTILE_SYNC_IPC); in ipc_importance_check_circularity()
2429 send_turnstile = TURNSTILE_NULL; in ipc_importance_check_circularity()
H A Dipc_kmsg.c1895 assert(port_send_turnstile(port) == TURNSTILE_NULL); in ipc_kmsg_set_prealloc()
1896 kmsg->ikm_turnstile = TURNSTILE_NULL; in ipc_kmsg_set_prealloc()
/xnu-8019.80.24/bsd/kern/
H A Dsys_ulock.c297 ull->ull_turnstile = TURNSTILE_NULL; in ull_alloc()
309 assert(ull->ull_turnstile == TURNSTILE_NULL); in ull_free()
694 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wait2()
941 struct turnstile *ts = TURNSTILE_NULL; in ulock_wake()
972 TURNSTILE_NULL, TURNSTILE_ULOCK); in ulock_wake()
973 assert(ts != TURNSTILE_NULL); in ulock_wake()
1015 if (ts != TURNSTILE_NULL) { in ulock_wake()
H A Dkern_event.c2001 struct turnstile *ts = TURNSTILE_NULL; in filt_wlupdate()
2492 TURNSTILE_NULL, TURNSTILE_WORKLOOPS); in filt_wlpost_register_wait()
3324 assert(kqwl->kqwl_turnstile == TURNSTILE_NULL); in kqworkloop_dealloc()
4946 struct turnstile *ts = TURNSTILE_NULL; in kqueue_threadreq_initiate()
5504 return TURNSTILE_NULL; in kqueue_alloc_turnstile()
5507 struct turnstile *ts = turnstile_alloc(), *free_ts = TURNSTILE_NULL; in kqueue_alloc_turnstile()
5563 return TURNSTILE_NULL; in kqueue_turnstile()
5574 return TURNSTILE_NULL; in kqueue_threadreq_get_turnstile()
/xnu-8019.80.24/bsd/pthread/
H A Dpthread_shims.c233 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_prepare()
273 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_update_owner()
299 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_wakeup()
/xnu-8019.80.24/osfmk/i386/
H A Dlocks_i386.c1312 ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_unlock_wakeup_tail()
1364 ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_lock_acquire_inline()
2408 *ts = turnstile_prepare((uintptr_t)mutex, NULL, TURNSTILE_NULL, TURNSTILE_KERNEL_MUTEX); in lck_mtx_lock_wait_x86()