Home
last modified time | relevance | path

Searched refs:gt_data (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.61.2/osfmk/kern/
H A Dlocks.c2008 #define gate_ilock(gate) hw_lock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT, LCK_GRP_NU…
2009 #define gate_iunlock(gate) hw_unlock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT)
2011 #define ordered_load_gate(gate) os_atomic_load(&(gate)->gt_data, compiler_acq_rel)
2012 #define ordered_store_gate(gate, value) os_atomic_store(&(gate)->gt_data, value, compiler_acq_rel)
2030 …panic("Gate used is invalid. gate %p data %lx turnstile %p refs %d flags %x ", gate, gate->gt_data in gate_verify_tag_panic()
2037 … destroyed. gate %p data %lx turnstile %p refs %d flags %x", gate, gate->gt_data, gate->gt_turnsti… in gate_verify_destroy_panic()
2046 if (GATE_STATE_MASKED(gate->gt_data) == GATE_DESTROYED) { in gate_verify()
2070 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_try_close()
2105 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_close()
2167 if (os_atomic_cmpxchg(&gate->gt_data, GATE_THREAD_TO_STATE(thread), 0, release)) { in gate_open()
[all …]
H A Dlocks.h573 uintptr_t gt_data; // thread holder, interlock bit and waiter bit member