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))
1106 ordered_store_mtx(lock, (state | LCK_ILOCK | ARM_LCK_WAITERS)); // Set waiters bit and wait in lck_mtx_lock_contended()1132 state |= LCK_ILOCK; // Preserve interlock in lck_mtx_lock_contended()1265 new_state = ARM_LCK_WAITERS | LCK_ILOCK; in lck_mtx_lock_contended_spinwait_arm()1516 state |= (LCK_MTX_SPIN_TAG | LCK_ILOCK); // Add spin tag and maintain interlock in lck_mtx_lock_spin_internal()1582 state |= LCK_ILOCK; // Preserve interlock in lck_mtx_try_lock_contended()1614 state |= (LCK_MTX_SPIN_TAG | LCK_ILOCK); // Add spin tag and maintain interlock in lck_mtx_try_lock_spin_internal()1657 if (state & LCK_ILOCK) { in lck_mtx_unlock()1701 state |= LCK_ILOCK; in lck_mtx_unlock_contended()1775 if ((state & LCK_ILOCK) == 0 || (LCK_MTX_STATE_TO_THREAD(state) != (thread_t)LCK_MTX_SPIN_TAG)) { in lck_mtx_convert_spin()1785 state |= LCK_ILOCK; in lck_mtx_convert_spin()[all …]