Home
last modified time | relevance | path

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

/include/linux/
A Drwsem.h69 #define RWSEM_UNLOCKED_VALUE 0UL macro
71 #define __RWSEM_COUNT_INIT(name) .count = ATOMIC_LONG_INIT(RWSEM_UNLOCKED_VALUE)
75 return atomic_long_read(&sem->count) != RWSEM_UNLOCKED_VALUE; in rwsem_is_locked()
80 WARN_ON(atomic_long_read(&sem->count) == RWSEM_UNLOCKED_VALUE); in rwsem_assert_held_nolockdep()

Completed in 3 milliseconds