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.h18 #define OSQ_UNLOCKED_VAL (0) macro
21 #define OSQ_LOCK_UNLOCKED { ATOMIC_INIT(OSQ_UNLOCKED_VAL) }
25 atomic_set(&lock->tail, OSQ_UNLOCKED_VAL); in osq_lock_init()
33 return atomic_read(&lock->tail) != OSQ_UNLOCKED_VAL; in osq_is_locked()
/linux/kernel/locking/
A Dosq_lock.c111 if (old == OSQ_UNLOCKED_VAL) in osq_lock()
219 OSQ_UNLOCKED_VAL) == curr)) in osq_unlock()
232 next = osq_wait_next(lock, node, OSQ_UNLOCKED_VAL); in osq_unlock()

Completed in 5 milliseconds