Searched refs:optimistic_spin_queue (Results 1 – 4 of 4) sorted by relevance
15 struct optimistic_spin_queue { struct28 static inline void osq_lock_init(struct optimistic_spin_queue *lock) in osq_lock_init() argument33 extern bool osq_lock(struct optimistic_spin_queue *lock);34 extern void osq_unlock(struct optimistic_spin_queue *lock);36 static inline bool osq_is_locked(struct optimistic_spin_queue *lock) in osq_is_locked()
70 struct optimistic_spin_queue osq; /* Spinner MCS lock */
57 struct optimistic_spin_queue osq; /* spinner MCS lock */
42 osq_wait_next(struct optimistic_spin_queue *lock, in osq_wait_next()90 bool osq_lock(struct optimistic_spin_queue *lock) in osq_lock()207 void osq_unlock(struct optimistic_spin_queue *lock) in osq_unlock()