Searched refs:SPINLOCK_LOCKVAL (Results 1 – 2 of 2) sorted by relevance
19 #define SPINLOCK_LOCKVAL (get_lowcore()->spinlock_lockval) macro61 return likely(__atomic_cmpxchg_bool(&lp->lock, 0, SPINLOCK_LOCKVAL)); in arch_spin_trylock_once()
124 lockval = SPINLOCK_LOCKVAL; /* cpu + 1 */ in arch_spin_lock_queued()215 lockval = SPINLOCK_LOCKVAL; /* cpu + 1 */ in arch_spin_lock_classic()254 int cpu = SPINLOCK_LOCKVAL; in arch_spin_trylock_retry()