Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/
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-6.1.9/arch/arm/include/asm/
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-6.1.9/arch/s390/lib/
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-6.1.9/drivers/media/tuners/
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-6.1.9/arch/x86/kernel/
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-6.1.9/fs/xfs/
Dxfs_trace.h419 __field(unsigned, lockval)
430 __entry->lockval = bp->b_sema.count;
442 __entry->lockval,
490 __field(unsigned, lockval)
501 __entry->lockval = bp->b_sema.count;
511 __entry->lockval,
534 __field(unsigned, lockval)
544 __entry->lockval = bp->b_sema.count;
556 __entry->lockval,