Home
last modified time | relevance | path

Searched refs:TICKET_LOCK_INC (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
Dspinlock.h80 old.tickets.tail = new.tickets.head + TICKET_LOCK_INC; in __ticket_check_and_clear_slowpath()
108 register struct __raw_tickets inc = { .tail = TICKET_LOCK_INC }; in arch_spin_lock()
139 new.head_tail = old.head_tail + (TICKET_LOCK_INC << TICKET_SHIFT); in arch_spin_trylock()
154 head = xadd(&lock->tickets.head, TICKET_LOCK_INC); in arch_spin_unlock()
158 __ticket_unlock_kick(lock, (head + TICKET_LOCK_INC)); in arch_spin_unlock()
161 __add(&lock->tickets.head, TICKET_LOCK_INC, UNLOCK_LOCK_PREFIX); in arch_spin_unlock()
176 return (__ticket_t)(tmp.tail - tmp.head) > TICKET_LOCK_INC; in arch_spin_is_contended()
Dspinlock_types.h22 #define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC) macro