Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Drwsem.c125 #define RWSEM_WRITER_MASK RWSEM_WRITER_LOCKED macro
126 #define RWSEM_LOCK_MASK (RWSEM_WRITER_MASK|RWSEM_READER_MASK)
127 #define RWSEM_READ_FAILED_MASK (RWSEM_WRITER_MASK|RWSEM_FLAG_WAITERS|\
195 if (count & RWSEM_WRITER_MASK) in is_rwsem_reader_owned()
459 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake()
980 if (count & RWSEM_WRITER_MASK) in rwsem_cond_wake_waiter()
1048 if (!(atomic_long_read(&sem->count) & RWSEM_WRITER_MASK)) { in rwsem_down_read_slowpath()