Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
Drwsem.c102 #define RWSEM_NONSPINNABLE (RWSEM_RD_NONSPINNABLE | RWSEM_WR_NONSPINNABLE) macro
103 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
268 if (owner & RWSEM_NONSPINNABLE) in rwsem_set_nonspinnable()
271 owner | RWSEM_NONSPINNABLE)); in rwsem_set_nonspinnable()
663 BUILD_BUG_ON(!(RWSEM_OWNER_UNKNOWN & RWSEM_NONSPINNABLE)); in rwsem_can_spin_on_owner()
1160 disable_rspin = atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE; in rwsem_down_write_slowpath()
1459 !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE), sem); in __up_write()