Searched refs:gt_data (Results 1 – 2 of 2) sorted by relevance
| /xnu-8020.101.4/osfmk/kern/ |
| H A D | locks.c | 2003 #define gate_ilock(gate) hw_lock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT, LCK_GRP_NU… 2004 #define gate_iunlock(gate) hw_unlock_bit((hw_lock_bit_t*)(&(gate)->gt_data), GATE_ILOCK_BIT) 2006 #define ordered_load_gate(gate) os_atomic_load(&(gate)->gt_data, compiler_acq_rel) 2007 #define ordered_store_gate(gate, value) os_atomic_store(&(gate)->gt_data, value, compiler_acq_rel) 2025 …panic("Gate used is invalid. gate %p data %lx turnstile %p refs %d flags %x ", gate, gate->gt_data… in gate_verify_tag_panic() 2032 … destroyed. gate %p data %lx turnstile %p refs %d flags %x", gate, gate->gt_data, gate->gt_turnsti… in gate_verify_destroy_panic() 2041 if (GATE_STATE_MASKED(gate->gt_data) == GATE_DESTROYED) { in gate_verify() 2065 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_try_close() 2100 if (os_atomic_cmpxchg(&gate->gt_data, 0, GATE_THREAD_TO_STATE(thread), acquire)) { in gate_close() 2161 if (os_atomic_cmpxchg(&gate->gt_data, GATE_THREAD_TO_STATE(thread), 0, release)) { in gate_open() [all …]
|
| H A D | locks.h | 369 uintptr_t gt_data; // thread holder, interlock bit and waiter bit member
|