Searched refs:OSQ_UNLOCKED_VAL (Results 1 – 2 of 2) sorted by relevance
23 #define OSQ_UNLOCKED_VAL (0) macro26 #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()
55 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 5 milliseconds