Searched refs:lockval (Results 1 – 5 of 5) sorted by relevance
/arch/arm64/kvm/hyp/include/nvhe/ |
D | spinlock.h | 47 hyp_spinlock_t lockval, newval; in hyp_spin_lock() local 77 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp), "+Q" (*lock) in hyp_spin_lock() 103 hyp_spinlock_t lockval = READ_ONCE(*lock); in hyp_spin_is_locked() local 105 return lockval.owner != lockval.next; in hyp_spin_is_locked()
|
/arch/csky/include/asm/ |
D | spinlock.h | 14 arch_spinlock_t lockval; in arch_spin_lock() local 25 : "=&r" (tmp), "=&r" (lockval) in arch_spin_lock() 29 while (lockval.tickets.next != lockval.tickets.owner) in arch_spin_lock() 30 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
|
/arch/arm/include/asm/ |
D | spinlock.h | 60 arch_spinlock_t lockval; in arch_spin_lock() local 69 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp) in arch_spin_lock() 73 while (lockval.tickets.next != lockval.tickets.owner) { in arch_spin_lock() 75 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
|
/arch/s390/lib/ |
D | spinlock.c | 120 int lockval, ix, node_id, tail_id, old, new, owner, count; in arch_spin_lock_queued() local 124 lockval = SPINLOCK_LOCKVAL; /* cpu + 1 */ in arch_spin_lock_queued() 141 new = (old ? (old + _Q_LOCK_STEAL_ADD) : 0) | lockval; in arch_spin_lock_queued() 186 new = ((tail_id != node_id) ? tail_id : 0) | lockval; in arch_spin_lock_queued() 213 int lockval, old, new, owner, count; in arch_spin_lock_classic() local 215 lockval = SPINLOCK_LOCKVAL; /* cpu + 1 */ in arch_spin_lock_classic() 228 new = (old & _Q_TAIL_MASK) | lockval; in arch_spin_lock_classic()
|
/arch/x86/kernel/ |
D | hpet.c | 787 u64 lockval; member 810 old.lockval = READ_ONCE(hpet.lockval); in read_hpet() 843 new.lockval = READ_ONCE(hpet.lockval); in read_hpet()
|