Searched refs:LCK_ILOCK (Results 1 – 2 of 2) sorted by relevance
120 #define LCK_ILOCK (1 << LCK_ILOCK_BIT) macro198 #define PLATFORM_LCK_ILOCK LCK_ILOCK208 #define LCK_MTX_STATE_TO_THREAD(s) (thread_t)(s & ~(LCK_ILOCK | ARM_LCK_WAITERS))217 #define LCK_MTX_THREAD_MASK (~(uintptr_t)(LCK_ILOCK | ARM_LCK_WAITERS))
1043 ordered_store_mtx(lock, (state | LCK_ILOCK | ARM_LCK_WAITERS)); // Set waiters bit and wait in lck_mtx_lock_contended()1069 state |= LCK_ILOCK; // Preserve interlock in lck_mtx_lock_contended()1202 new_state = ARM_LCK_WAITERS | LCK_ILOCK; in lck_mtx_lock_contended_spinwait_arm()1494 state |= (LCK_MTX_SPIN_TAG | LCK_ILOCK); // Add spin tag and maintain interlock in lck_mtx_lock_spin_internal()1562 state |= LCK_ILOCK; // Preserve interlock in lck_mtx_try_lock_contended()1598 state |= (LCK_MTX_SPIN_TAG | LCK_ILOCK); // Add spin tag and maintain interlock in lck_mtx_try_lock_spin_internal()1641 if (state & LCK_ILOCK) { in lck_mtx_unlock()1685 state |= LCK_ILOCK; in lck_mtx_unlock_contended()1759 if ((state & LCK_ILOCK) == 0 || (LCK_MTX_STATE_TO_THREAD(state) != (thread_t)LCK_MTX_SPIN_TAG)) { in lck_mtx_convert_spin()1769 state |= LCK_ILOCK; in lck_mtx_convert_spin()[all …]