Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Dlocks.c1987 #define gate_ilock(gate) hw_lock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT, LCK_GRP_NU…
1988 #define gate_iunlock(gate) hw_unlock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT)
1990 #define ordered_load_gate(gate) os_atomic_load(&(gate)->gt_data, compiler_acq_rel)
1991 #define ordered_store_gate(gate, value) os_atomic_store(&(gate)->gt_data, value, compiler_acq_rel)
2009 …panic("Gate used is invalid. gate %p data %lx turnstile %p refs %d flags %x ", gate, gate->gt_data in gate_verify_tag_panic()
2016 … destroyed. gate %p data %lx turnstile %p refs %d flags %x", gate, gate->gt_data, gate->gt_turnsti… in gate_verify_destroy_panic()
2025 if (GATE_STATE_MASKED(gate->gt_data) == GATE_DESTROYED) { in gate_verify()
2049 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_try_close()
2084 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_close()
2146 if (os_atomic_cmpxchg(&gate->gt_data, GATE_THREAD_TO_STATE(thread), 0, release)) { in gate_open()
[all …]
H A Dlocks.h628 uintptr_t gt_data; // thread holder, interlock bit and waiter bit member