Searched refs:tickets (Results 1 – 4 of 4) sorted by relevance
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()66 WRITE_ONCE(lock->tickets.owner, lock->tickets.owner + 1); in arch_spin_unlock()71 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()81 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local83 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