Home
last modified time | relevance | path

Searched refs:lockval (Results 1 – 7 of 7) sorted by relevance

/linux/arch/arm64/kvm/hyp/include/nvhe/
A Dspinlock.h39 hyp_spinlock_t lockval, newval; in hyp_spin_lock() local
69 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp), "+Q" (*lock) in hyp_spin_lock()
95 hyp_spinlock_t lockval = READ_ONCE(*lock); in hyp_spin_is_locked() local
97 return lockval.owner != lockval.next; in hyp_spin_is_locked()
/linux/arch/csky/include/asm/
A Dspinlock.h14 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()
/linux/arch/arm/include/asm/
A Dspinlock.h60 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()
/linux/arch/s390/lib/
A Dspinlock.c120 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()
/linux/drivers/media/tuners/
A Dmt2131.c91 u8 lockval = 0; in mt2131_set_params() local
160 mt2131_readreg(priv, 0x08, &lockval); in mt2131_set_params()
161 if ((lockval & 0x88) == 0x88) in mt2131_set_params()
/linux/arch/x86/kernel/
A Dhpet.c787 u64 lockval; member
810 old.lockval = READ_ONCE(hpet.lockval); in read_hpet()
843 new.lockval = READ_ONCE(hpet.lockval); in read_hpet()
/linux/fs/xfs/
A Dxfs_trace.h418 __field(unsigned, lockval)
428 __entry->lockval = bp->b_sema.count;
439 __entry->lockval,
486 __field(unsigned, lockval)
497 __entry->lockval = bp->b_sema.count;
507 __entry->lockval,
530 __field(unsigned, lockval)
540 __entry->lockval = bp->b_sema.count;
552 __entry->lockval,

Completed in 16 milliseconds