Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/arch/csky/include/asm/
Dspinlock.h16 arch_spinlock_t lockval; in arch_spin_lock() local
27 : "=&r" (tmp), "=&r" (lockval) in arch_spin_lock()
31 while (lockval.tickets.next != lockval.tickets.owner) in arch_spin_lock()
32 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
/Linux-v5.4/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-v5.4/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-v5.4/arch/x86/kernel/
Dhpet.c676 u64 lockval; member
699 old.lockval = READ_ONCE(hpet.lockval); in read_hpet()
732 new.lockval = READ_ONCE(hpet.lockval); in read_hpet()
/Linux-v5.4/fs/xfs/
Dxfs_trace.h282 __field(unsigned, lockval)
295 __entry->lockval = bp->b_sema.count;
306 __entry->lockval,
353 __field(unsigned, lockval)
364 __entry->lockval = bp->b_sema.count;
374 __entry->lockval,
397 __field(unsigned, lockval)
407 __entry->lockval = bp->b_sema.count;
419 __entry->lockval,