Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/locking/
H A Drwsem.c165 #define RWSEM_LOCK_MASK (RWSEM_WRITER_MASK|RWSEM_READER_MASK) macro
576 if (count & RWSEM_LOCK_MASK) { in rwsem_try_write_lock()
633 while (!(count & (RWSEM_LOCK_MASK|RWSEM_FLAG_HANDOFF))) { in rwsem_try_write_lock_unqueued()
1078 if (!(count & RWSEM_LOCK_MASK)) { in rwsem_down_read_slowpath()
1268 if (!(count & RWSEM_LOCK_MASK)) in rwsem_down_write_slowpath()
1475 if (unlikely((tmp & (RWSEM_LOCK_MASK|RWSEM_FLAG_WAITERS)) == in __up_read()