Home
last modified time | relevance | path

Searched refs:optimistic_spin_queue (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/include/linux/
Dosq_lock.h15 struct optimistic_spin_queue { struct
28 static inline void osq_lock_init(struct optimistic_spin_queue *lock) in osq_lock_init() argument
33 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()
Drwsem.h44 struct optimistic_spin_queue osq; /* spinner MCS lock */
Dmutex.h57 struct optimistic_spin_queue osq; /* Spinner MCS lock */
/Linux-v5.10/kernel/locking/
Dosq_lock.c42 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()