Home
last modified time | relevance | path

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

/linux/include/linux/
A Dosq_lock.h23 #define OSQ_UNLOCKED_VAL (0) macro
26 #define OSQ_LOCK_UNLOCKED { ATOMIC_INIT(OSQ_UNLOCKED_VAL) }
30 atomic_set(&lock->tail, OSQ_UNLOCKED_VAL); in osq_lock_init()
38 return atomic_read(&lock->tail) != OSQ_UNLOCKED_VAL; in osq_is_locked()
/linux/kernel/locking/
A Dosq_lock.c55 old = prev ? prev->cpu : OSQ_UNLOCKED_VAL; in osq_wait_next()
108 if (old == OSQ_UNLOCKED_VAL) in osq_lock()
216 OSQ_UNLOCKED_VAL) == curr)) in osq_unlock()

Completed in 6 milliseconds