Home
last modified time | relevance | path

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

/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|\
204 if (count & RWSEM_WRITER_MASK) in is_rwsem_reader_owned()
457 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake()
978 if (count & RWSEM_WRITER_MASK) in rwsem_cond_wake_waiter()
1046 if (!(atomic_long_read(&sem->count) & RWSEM_WRITER_MASK)) { in rwsem_down_read_slowpath()