Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/locking/
H A Drwsem.c156 #define RWSEM_WRITER_LOCKED (1UL << 0) macro
164 #define RWSEM_WRITER_MASK RWSEM_WRITER_LOCKED
582 new |= RWSEM_WRITER_LOCKED; in rwsem_try_write_lock()
635 count | RWSEM_WRITER_LOCKED)) { in rwsem_try_write_lock_unqueued()
1422 RWSEM_WRITER_LOCKED))) { in __down_write()
1435 RWSEM_WRITER_LOCKED))) { in __down_write_killable()
1453 RWSEM_WRITER_LOCKED)) { in __down_write_trylock()
1500 tmp = atomic_long_fetch_add_release(-RWSEM_WRITER_LOCKED, &sem->count); in __up_write()
1522 -RWSEM_WRITER_LOCKED+RWSEM_READER_BIAS, &sem->count); in __downgrade_write()