Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Drwsem.c163 #define RWSEM_LOCK_MASK (RWSEM_WRITER_MASK|RWSEM_READER_MASK) macro
578 if (count & RWSEM_LOCK_MASK) { in rwsem_try_write_lock()
635 while (!(count & (RWSEM_LOCK_MASK|RWSEM_FLAG_HANDOFF))) { in rwsem_try_write_lock_unqueued()
1073 if (!(count & RWSEM_LOCK_MASK)) { in rwsem_down_read_slowpath()
1250 if (!(count & RWSEM_LOCK_MASK)) in rwsem_down_write_slowpath()
1436 if (unlikely((tmp & (RWSEM_LOCK_MASK|RWSEM_FLAG_WAITERS)) == in __up_read()