Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dspinlock_types.h8 #define TICKET_SLOWPATH_FLAG ((__ticket_t)1)
11 #define TICKET_SLOWPATH_FLAG ((__ticket_t)0)
15 typedef u8 __ticket_t; typedef
18 typedef u16 __ticket_t; typedef
22 #define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC)
24 #define TICKET_SHIFT (sizeof(__ticket_t) * 8)
30 __ticket_t head, tail;
Dspinlock.h54 __ticket_t ticket) in __ticket_lock_spinning()
58 __ticket_t ticket) in __ticket_unlock_kick()
123 BUILD_BUG_ON(((__ticket_t)NR_CPUS) != NR_CPUS); in __ticket_unlock_slowpath()
174 return (__ticket_t)(tmp.tail - tmp.head) > TICKET_LOCK_INC; in arch_spin_is_contended()
Dparavirt_types.h333 typedef u16 __ticket_t; typedef
338 void (*unlock_kick)(struct arch_spinlock *lock, __ticket_t ticket);
Dparavirt.h716 __ticket_t ticket) in __ticket_lock_spinning()
722 __ticket_t ticket) in __ticket_unlock_kick()
/arch/x86/xen/
Dspinlock.c100 __ticket_t want;
109 __visible void xen_lock_spinning(struct arch_spinlock *lock, __ticket_t want) in xen_lock_spinning()
197 static void xen_unlock_kick(struct arch_spinlock *lock, __ticket_t next) in xen_unlock_kick()
/arch/x86/kernel/
Dkvm.c717 __ticket_t want;
726 __visible void kvm_lock_spinning(struct arch_spinlock *lock, __ticket_t want) in kvm_lock_spinning()
801 static void kvm_unlock_kick(struct arch_spinlock *lock, __ticket_t ticket) in kvm_unlock_kick()