Home
last modified time | relevance | path

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

/arch/tile/lib/
Dspinlock_64.c37 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()
/arch/tile/include/asm/
Dspinlock_64.h24 #define __ARCH_SPIN_NEXT_OVERFLOW 0x8000 macro
69 u32 ticket = val & (__ARCH_SPIN_NEXT_MASK | __ARCH_SPIN_NEXT_OVERFLOW); in arch_spin_lock()