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

/linux-master/include/linux/
H A Dosq_lock.h13 * If the queue is empty, then it's set to OSQ_UNLOCKED_VAL.
18 #define OSQ_UNLOCKED_VAL (0) macro
21 #define OSQ_LOCK_UNLOCKED { ATOMIC_INIT(OSQ_UNLOCKED_VAL) }
25 atomic_set(&lock->tail, OSQ_UNLOCKED_VAL);
33 return atomic_read(&lock->tail) != OSQ_UNLOCKED_VAL;
/linux-master/kernel/locking/
H A Dosq_lock.c51 * set to OSQ_UNLOCKED_VAL.
111 if (old == OSQ_UNLOCKED_VAL)
219 OSQ_UNLOCKED_VAL) == curr))
232 next = osq_wait_next(lock, node, OSQ_UNLOCKED_VAL);

Completed in 112 milliseconds