Home
last modified time | relevance | path

Searched refs:tickets (Results 1 – 4 of 4) sorted by relevance

/arch/csky/include/asm/
Dspinlock.h31 while (lockval.tickets.next != lockval.tickets.owner) in arch_spin_lock()
32 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
68 WRITE_ONCE(lock->tickets.owner, lock->tickets.owner + 1); in arch_spin_unlock()
73 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()
83 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local
85 return (tickets.next - tickets.owner) > 1; in arch_spin_is_contended()
Dspinlock_types.h19 } tickets; member
/arch/arm/include/asm/
Dspinlock.h73 while (lockval.tickets.next != lockval.tickets.owner) { in arch_spin_lock()
75 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
110 lock->tickets.owner++; in arch_spin_unlock()
116 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()
126 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local
127 return (tickets.next - tickets.owner) > 1; in arch_spin_is_contended()
Dspinlock_types.h22 } tickets; member