Searched refs:tickets (Results 1 – 4 of 4) sorted by relevance
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()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() local85 return (tickets.next - tickets.owner) > 1; in arch_spin_is_contended()
19 } tickets; member
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()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() local127 return (tickets.next - tickets.owner) > 1; in arch_spin_is_contended()
22 } tickets; member