Searched refs:slock (Results 1 – 8 of 8) sorted by relevance
/arch/arc/include/asm/ |
D | spinlock.h | 13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__) 28 : [slock] "r" (&(lock->slock)), in arch_spin_lock() 58 : [slock] "r" (&(lock->slock)), in arch_spin_trylock() 71 WRITE_ONCE(lock->slock, __ARCH_SPIN_LOCK_UNLOCKED__); in arch_spin_unlock() 237 : "r"(&(lock->slock)), "ir"(__ARCH_SPIN_LOCK_LOCKED__) in arch_spin_lock() 253 : "r"(&(lock->slock)) in arch_spin_trylock() 280 : "r"(&(lock->slock)) in arch_spin_unlock()
|
D | spinlock_types.h | 10 volatile unsigned int slock; member
|
/arch/arm/include/asm/ |
D | spinlock.h | 62 prefetchw(&lock->slock); in arch_spin_lock() 70 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT) in arch_spin_lock() 84 u32 slock; in arch_spin_trylock() local 86 prefetchw(&lock->slock); in arch_spin_trylock() 94 : "=&r" (slock), "=&r" (contended), "=&r" (res) in arch_spin_trylock() 95 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT) in arch_spin_trylock()
|
D | spinlock_types.h | 13 u32 slock; member
|
/arch/powerpc/include/asm/ |
D | simple_spinlock.h | 36 return lock.slock == 0; in arch_spin_value_unlocked() 63 : "r" (token), "r" (&lock->slock) in __arch_spin_trylock() 122 } while (unlikely(lock->slock != 0)); in arch_spin_lock() 141 } while (unlikely(lock->slock != 0)); in arch_spin_lock_flags() 152 lock->slock = 0; in arch_spin_unlock()
|
D | simple_spinlock_types.h | 10 volatile unsigned int slock; member
|
/arch/powerpc/lib/ |
D | locks.c | 25 lock_value = lock->slock; in splpar_spin_yield() 35 if (lock->slock != lock_value) in splpar_spin_yield()
|
/arch/parisc/kernel/ |
D | irq.c | 387 volatile unsigned int slock[4]; member 392 .slock = { 1,1,1,1 }, 480 irq_stack = ALIGN(irq_stack + sizeof(irq_stack_union.slock), in execute_on_irq_stack()
|