Searched refs:__ARCH_SPIN_NEXT_OVERFLOW (Results 1 – 2 of 2) sorted by relevance
37 if (unlikely(my_ticket & __ARCH_SPIN_NEXT_OVERFLOW)) { in arch_spin_lock_slow()38 __insn_fetchand4(&lock->lock, ~__ARCH_SPIN_NEXT_OVERFLOW); in arch_spin_lock_slow()39 my_ticket &= ~__ARCH_SPIN_NEXT_OVERFLOW; in arch_spin_lock_slow()60 return cmpxchg(&lock->lock, val, (val + 1) & ~__ARCH_SPIN_NEXT_OVERFLOW) in arch_spin_trylock()
24 #define __ARCH_SPIN_NEXT_OVERFLOW 0x8000 macro69 u32 ticket = val & (__ARCH_SPIN_NEXT_MASK | __ARCH_SPIN_NEXT_OVERFLOW); in arch_spin_lock()