Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Drwsem.c162 #define RWSEM_WRITER_MASK RWSEM_WRITER_LOCKED macro
163 #define RWSEM_LOCK_MASK (RWSEM_WRITER_MASK|RWSEM_READER_MASK)
164 #define RWSEM_READ_FAILED_MASK (RWSEM_WRITER_MASK|RWSEM_FLAG_WAITERS|\
227 if (count & RWSEM_WRITER_MASK) in is_rwsem_reader_owned()
448 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake()
613 if (count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF)) in rwsem_try_read_lock_unqueued()
617 if (!(count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))) { in rwsem_try_read_lock_unqueued()
1049 (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))) { in rwsem_down_read_slowpath()
1077 if (wake || (!(count & RWSEM_WRITER_MASK) && in rwsem_down_read_slowpath()
1186 if (count & RWSEM_WRITER_MASK) in rwsem_down_write_slowpath()