Searched refs:__ticket_t (Results 1 – 6 of 6) sorted by relevance
8 #define TICKET_SLOWPATH_FLAG ((__ticket_t)1)11 #define TICKET_SLOWPATH_FLAG ((__ticket_t)0)15 typedef u8 __ticket_t; typedef18 typedef u16 __ticket_t; typedef22 #define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC)24 #define TICKET_SHIFT (sizeof(__ticket_t) * 8)30 __ticket_t head, tail;
54 __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()
333 typedef u16 __ticket_t; typedef338 void (*unlock_kick)(struct arch_spinlock *lock, __ticket_t ticket);
716 __ticket_t ticket) in __ticket_lock_spinning()722 __ticket_t ticket) in __ticket_unlock_kick()
100 __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()
717 __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()